Migrate packages and check config (#23082)

* Migrate packages and check config

* Fix typing

* Fix check config script
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2019-04-14 07:23:01 -07:00
1 parent 95662f82d4
commit 3368e30279
7 files changed
+113 -99

No files matched your search

+2 -2
View File
@@ -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