mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +00:00
Fix Evohome checking override duration (#31697)
This commit is contained in:
parent
94da129ef8
commit
454e63b69e
@ -175,7 +175,7 @@ class EvoZone(EvoChild, EvoClimateDevice):
|
|||||||
|
|
||||||
if ATTR_DURATION_UNTIL in data:
|
if ATTR_DURATION_UNTIL in data:
|
||||||
duration = data[ATTR_DURATION_UNTIL]
|
duration = data[ATTR_DURATION_UNTIL]
|
||||||
if duration == 0:
|
if duration.total_seconds() == 0:
|
||||||
await self._update_schedule()
|
await self._update_schedule()
|
||||||
until = parse_datetime(str(self.setpoints.get("next_sp_from")))
|
until = parse_datetime(str(self.setpoints.get("next_sp_from")))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user