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:
parent
3d48eb26cd
commit
077ee5b714
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user