Allow config entry reloading (#21502)

* Allow config entry reloading

* Fix duplicate test name

* Add comment

* fix typing
This commit is contained in:
Paulus Schoutsen
2019-02-28 20:27:20 -08:00
committed by Andrew Sayre
parent aa30ac52ea
commit ee4be13bda
3 changed files with 317 additions and 44 deletions

View File

@@ -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()