mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Tweak evohome to handle older TCC-compatible systems (#142226)
Handle zone.id == TCS.id
This commit is contained in:
parent
93418f587c
commit
79fe8650f8
@ -152,7 +152,7 @@ class EvoZone(EvoChild, EvoClimateEntity):
|
||||
super().__init__(coordinator, evo_device)
|
||||
self._evo_id = evo_device.id
|
||||
|
||||
if evo_device.model.startswith("VisionProWifi"):
|
||||
if evo_device.id == evo_device.tcs.id:
|
||||
# this system does not have a distinct ID for the zone
|
||||
self._attr_unique_id = f"{evo_device.id}z"
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user