Migrate packages and check config (#23082)
* Migrate packages and check config * Fix typing * Fix check config script
This commit is contained in:
parent
95662f82d4
commit
3368e30279
7 changed files with 113 additions and 99 deletions
|
@ -320,8 +320,8 @@ def check_ha_config_file(hass):
|
|||
core_config = {}
|
||||
|
||||
# Merge packages
|
||||
merge_packages_config(
|
||||
hass, config, core_config.get(CONF_PACKAGES, {}), _pack_error)
|
||||
hass.loop.run_until_complete(merge_packages_config(
|
||||
hass, config, core_config.get(CONF_PACKAGES, {}), _pack_error))
|
||||
core_config.pop(CONF_PACKAGES, None)
|
||||
|
||||
# Filter out repeating config sections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue