Remove double schema validation in network (#51219)
This commit is contained in:
parent
c2f5dcefa5
commit
d1132270b4
1 changed files with 0 additions and 2 deletions
|
@ -8,7 +8,6 @@ from homeassistant.core import HomeAssistant, callback
|
||||||
from .const import (
|
from .const import (
|
||||||
ATTR_CONFIGURED_ADAPTERS,
|
ATTR_CONFIGURED_ADAPTERS,
|
||||||
DEFAULT_CONFIGURED_ADAPTERS,
|
DEFAULT_CONFIGURED_ADAPTERS,
|
||||||
NETWORK_CONFIG_SCHEMA,
|
|
||||||
STORAGE_KEY,
|
STORAGE_KEY,
|
||||||
STORAGE_VERSION,
|
STORAGE_VERSION,
|
||||||
)
|
)
|
||||||
|
@ -63,7 +62,6 @@ class Network:
|
||||||
|
|
||||||
async def async_reconfig(self, config: dict[str, Any]) -> None:
|
async def async_reconfig(self, config: dict[str, Any]) -> None:
|
||||||
"""Reconfigure network."""
|
"""Reconfigure network."""
|
||||||
config = NETWORK_CONFIG_SCHEMA(config)
|
|
||||||
self._data[ATTR_CONFIGURED_ADAPTERS] = config[ATTR_CONFIGURED_ADAPTERS]
|
self._data[ATTR_CONFIGURED_ADAPTERS] = config[ATTR_CONFIGURED_ADAPTERS]
|
||||||
self.async_configure()
|
self.async_configure()
|
||||||
await self._async_save()
|
await self._async_save()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue