mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
parent
36cb818cd0
commit
455ac1cadf
@ -614,13 +614,12 @@ class EvoChild(EvoDevice):
|
|||||||
@property
|
@property
|
||||||
def current_temperature(self) -> Optional[float]:
|
def current_temperature(self) -> Optional[float]:
|
||||||
"""Return the current temperature of a Zone."""
|
"""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:
|
||||||
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
|
@property
|
||||||
def setpoints(self) -> Dict[str, Any]:
|
def setpoints(self) -> Dict[str, Any]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user