mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Delint recent change to evohome (#38294)
This commit is contained in:
parent
561e4b537a
commit
bea1570354
@ -614,8 +614,10 @@ class EvoChild(EvoDevice):
|
||||
@property
|
||||
def current_temperature(self) -> Optional[float]:
|
||||
"""Return the current temperature of a Zone."""
|
||||
if self._evo_broker.temps:
|
||||
if self._evo_broker.temps[self._evo_device.zoneId] != 128:
|
||||
if (
|
||||
self._evo_broker.temps
|
||||
and self._evo_broker.temps[self._evo_device.zoneId] != 128
|
||||
):
|
||||
return self._evo_broker.temps[self._evo_device.zoneId]
|
||||
|
||||
if self._evo_device.temperatureStatus["isAvailable"]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user