diff --git a/homeassistant/components/evohome/climate.py b/homeassistant/components/evohome/climate.py index b7f6e965a8f..aece0f0ec0d 100644 --- a/homeassistant/components/evohome/climate.py +++ b/homeassistant/components/evohome/climate.py @@ -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: