1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 15:52:20 +01:00

Merge components in packages (#3555)

Co-authored-by: Paul Monigatti <pm@paul.pm>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Quentin Smith
2023-02-06 20:08:40 -05:00
committed by GitHub
parent 393ca64d70
commit 40df3aa55e
7 changed files with 408 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ def do_packages_pass(config: dict):
f"Packages must be a key to value mapping, got {type(packages)} instead"
)
for package_name, package_config in packages.items():
for package_name, package_config in reversed(packages.items()):
with cv.prepend_path(package_name):
recursive_package = package_config
if CONF_URL in package_config: