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