From bf4f2f6b9f6cbbb9acc6c7bbefb8c3bdb34a62a7 Mon Sep 17 00:00:00 2001 From: crazyfx1 Date: Mon, 15 Jun 2020 12:14:17 +0200 Subject: [PATCH] Fix bug in dhw mode --- PyViCare/PyViCareDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyViCare/PyViCareDevice.py b/PyViCare/PyViCareDevice.py index a830b3da..50eb3cf0 100644 --- a/PyViCare/PyViCareDevice.py +++ b/PyViCare/PyViCareDevice.py @@ -242,7 +242,7 @@ def getDomesticHotWaterActiveMode(self): except KeyError: # no schedule for day configured return None - tempMode = None + mode = None for s in daySchedule: startTime = time.fromisoformat(s["start"]) endTime = time.fromisoformat(s["end"])