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:
parent
f3946cb54f
commit
3904d83c32
4 changed files with 33 additions and 13 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue