mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Fix base config should override packages config (#1209)
This commit is contained in:
parent
e36dc2d05e
commit
f0dfde9fa1
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ def do_packages_pass(config: dict):
|
||||||
recursive_package = package_config
|
recursive_package = package_config
|
||||||
if isinstance(package_config, dict):
|
if isinstance(package_config, dict):
|
||||||
recursive_package = do_packages_pass(package_config)
|
recursive_package = do_packages_pass(package_config)
|
||||||
config = _merge_package(config, recursive_package)
|
config = _merge_package(recursive_package, config)
|
||||||
|
|
||||||
del config[CONF_PACKAGES]
|
del config[CONF_PACKAGES]
|
||||||
return config
|
return config
|
||||||
|
|
Loading…
Reference in a new issue