Skip to content

Commit 9f349d6

Browse files
committed
Again fix logic
1 parent 0089a5b commit 9f349d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/plugwise/climate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def hvac_modes(self) -> list[HVACMode]:
227227
if self.device.get(AVAILABLE_SCHEDULES, []):
228228
hvac_modes.append(HVACMode.AUTO)
229229
schedule = self.device.get("select_schedule")
230-
if schedule is not None and (schedule != NONE or schedule != "off"):
230+
if schedule is not None and schedule != NONE and schedule != "off":
231231
self._last_active_schedule = schedule
232232

233233
if self.coordinator.api.cooling_present:

0 commit comments

Comments
 (0)