mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 14:45:09 +02:00
@@ -614,12 +614,11 @@ class EvoChild(EvoDevice):
|
||||
@property
|
||||
def current_temperature(self) -> Optional[float]:
|
||||
"""Return the current temperature of a Zone."""
|
||||
if not self._evo_device.temperatureStatus["isAvailable"]:
|
||||
return None
|
||||
|
||||
if self._evo_broker.temps:
|
||||
if self._evo_broker.temps[self._evo_device.zoneId] != 128:
|
||||
return self._evo_broker.temps[self._evo_device.zoneId]
|
||||
|
||||
if self._evo_device.temperatureStatus["isAvailable"]:
|
||||
return self._evo_device.temperatureStatus["temperature"]
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user