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

@@ -327,11 +327,6 @@ def check_ha_config_file(hass):
hass, config, core_config.get(CONF_PACKAGES, {}), _pack_error)
core_config.pop(CONF_PACKAGES, None)
# Ensure we have no None values after merge
for key, value in config.items():
if not value:
config[key] = {}
# Filter out repeating config sections
components = set(key.split(' ')[0] for key in config.keys())