Fix Evohome checking override duration (#31697)
This commit is contained in:
1 parent
94da129ef8
commit
454e63b69e
1 file changed
+1
-1
@@ -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