1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-19 03:18:14 +00:00

[core] Ignore dot-prefixed config entries when looking for target platform (#8240)

This commit is contained in:
Jesse Hills 2025-02-13 10:05:46 +13:00
parent 3d48eb26cd
commit 077ee5b714
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -217,6 +217,8 @@ def preload_core_config(config, result) -> str:
target_platforms = []
for domain, _ in config.items():
if domain.startswith("."):
continue
if _is_target_platform(domain):
target_platforms += [domain]