From 7d2fcf59fd396dfd70c5a5133e64736be5dc3755 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