Tweak evohome to handle older TCC-compatible systems (#142226)

Handle zone.id == TCS.id
pull/142262/head
David Bonnes 2025-04-04 08:54:18 +01:00 committed by GitHub
parent 93418f587c
commit 79fe8650f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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: