1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-07 13:40:59 +00:00
This commit is contained in:
Tomasz Duda 2025-01-12 23:56:13 +01:00
parent 8158659787
commit b3c6af9a20

View File

@ -209,9 +209,8 @@ def _supported_target_platforms():
continue
if not (path / "__init__.py").is_file():
continue
name = path.name
if _is_target_platform(name):
target_platforms += [name]
if _is_target_platform(path.name):
target_platforms += [path.name]
return target_platforms