mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
parent
36cb818cd0
commit
455ac1cadf
@ -614,13 +614,12 @@ 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:
|
||||
return self._evo_broker.temps[self._evo_device.zoneId]
|
||||
if self._evo_broker.temps[self._evo_device.zoneId] != 128:
|
||||
return self._evo_broker.temps[self._evo_device.zoneId]
|
||||
|
||||
return self._evo_device.temperatureStatus["temperature"]
|
||||
if self._evo_device.temperatureStatus["isAvailable"]:
|
||||
return self._evo_device.temperatureStatus["temperature"]
|
||||
|
||||
@property
|
||||
def setpoints(self) -> Dict[str, Any]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user