1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00
This commit is contained in:
J. Nick Koston
2025-06-22 13:39:12 +02:00
parent 46b419ea8b
commit 7f2d979255

View File

@@ -529,7 +529,7 @@ async def to_code(config: ConfigType) -> None:
cg.add_define("USE_DEVICES")
# Process additional areas from the areas list
areas: list[dict[str, str]]
areas: list[dict[str, str | core.ID]]
if areas := config[CONF_AREAS]:
for area_conf in areas:
area_id: core.ID = area_conf[CONF_ID]