Extend partial reload to include packages (#18884)

* Merge packages after partial reload

* Remove merge from core reload & test

* Integrate merge in 'async_hass_config_yaml'

* Merge executors
This commit is contained in:
cdce8p 2018-12-03 10:56:26 +01:00 committed by Paulus Schoutsen
parent f3946cb54f
commit 3904d83c32
4 changed files with 33 additions and 13 deletions

View file

@ -115,11 +115,6 @@ async def async_from_config_dict(config: Dict[str, Any],
conf_util.merge_packages_config(
hass, config, core_config.get(conf_util.CONF_PACKAGES, {}))
# Ensure we have no None values after merge
for key, value in config.items():
if not value:
config[key] = {}
hass.config_entries = config_entries.ConfigEntries(hass, config)
await hass.config_entries.async_load()