1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-04 22:23:14 +01:00

Allow platform dependencies ()

This commit is contained in:
Keith Burzinski
2024-04-28 14:44:40 -05:00
committed by GitHub
parent a700ae481d
commit 8334934e08
2 changed files with 31 additions and 5 deletions

@ -69,7 +69,9 @@ def create_components_graph():
sys.exit(1)
for dependency in comp.dependencies:
add_item_to_components_graph(components_graph, dependency, name)
add_item_to_components_graph(
components_graph, dependency.split(".")[0], name
)
for target_config in TARGET_CONFIGURATIONS:
CORE.data[KEY_CORE] = target_config
@ -87,7 +89,9 @@ def create_components_graph():
add_item_to_components_graph(components_graph, platform_name, name)
for dependency in platform.dependencies:
add_item_to_components_graph(components_graph, dependency, name)
add_item_to_components_graph(
components_graph, dependency.split(".")[0], name
)
for target_config in TARGET_CONFIGURATIONS:
CORE.data[KEY_CORE] = target_config