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 authored and Paulus Schoutsen committed 2018-12-03 10:56:26 +01:00
1 parent f3946cb54f
commit 3904d83c32
4 files changed
+33 -13

No files matched your search

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