mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Rename Airzone system_zone_id to system_id (#121931)
This commit is contained in:
parent
ab945ee76e
commit
9f53d0ccd9
@ -99,12 +99,12 @@ async def async_setup_entry(
|
|||||||
coordinator,
|
coordinator,
|
||||||
description,
|
description,
|
||||||
entry,
|
entry,
|
||||||
system_zone_id,
|
system_id,
|
||||||
systems_data.get(system_zone_id),
|
systems_data.get(system_id),
|
||||||
)
|
)
|
||||||
for system_zone_id in new_systems
|
for system_id in new_systems
|
||||||
for description in SYSTEM_BINARY_SENSOR_TYPES
|
for description in SYSTEM_BINARY_SENSOR_TYPES
|
||||||
if description.key in systems_data.get(system_zone_id)
|
if description.key in systems_data.get(system_id)
|
||||||
)
|
)
|
||||||
added_systems.update(new_systems)
|
added_systems.update(new_systems)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user