Allow config entry reloading (#21502)

* Allow config entry reloading

* Fix duplicate test name

* Add comment

* fix typing
This commit is contained in:
Paulus Schoutsen authored and Andrew Sayre committed 2019-02-28 22:27:20 -06:00
1 parent aa30ac52ea
commit ee4be13bda
3 files changed
+317 -44

No files matched your search

+1 -1
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()