From f0dfde9fa103b7a0e53dc2a7b3b5e2ac1ff9b3cd Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Mon, 27 Jul 2020 18:23:00 +0200 Subject: [PATCH] Fix base config should override packages config (#1209) --- esphome/components/packages/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/packages/__init__.py b/esphome/components/packages/__init__.py index afbeae7f8d..55dfe35e34 100644 --- a/esphome/components/packages/__init__.py +++ b/esphome/components/packages/__init__.py @@ -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