mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Allow config entry reloading (#21502)
* Allow config entry reloading * Fix duplicate test name * Add comment * fix typing
This commit is contained in:
committed by
Andrew Sayre
parent
aa30ac52ea
commit
ee4be13bda
@@ -117,7 +117,7 @@ async def async_from_config_dict(config: Dict[str, Any],
|
||||
hass, config, core_config.get(conf_util.CONF_PACKAGES, {}))
|
||||
|
||||
hass.config_entries = config_entries.ConfigEntries(hass, config)
|
||||
await hass.config_entries.async_load()
|
||||
await hass.config_entries.async_initialize()
|
||||
|
||||
# Filter out the repeating and common config section [homeassistant]
|
||||
components = set(key.split(' ')[0] for key in config.keys()
|
||||
|
||||
Reference in New Issue
Block a user