mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 11:56:25 +01:00
Fix base config should override packages config (#1209)
This commit is contained in:
parent
d26c43103d
commit
7d2fcf59fd
@ -38,7 +38,7 @@ def do_packages_pass(config: dict):
|
||||
recursive_package = package_config
|
||||
if isinstance(package_config, dict):
|
||||
recursive_package = do_packages_pass(package_config)
|
||||
config = _merge_package(config, recursive_package)
|
||||
config = _merge_package(recursive_package, config)
|
||||
|
||||
del config[CONF_PACKAGES]
|
||||
return config
|
||||
|
Loading…
Reference in New Issue
Block a user