Skip to content

Commit

Permalink
Fix bug in dhw mode
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyfx1 committed Jun 15, 2020
1 parent 93516e3 commit bf4f2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyViCare/PyViCareDevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit bf4f2f6

Please sign in to comment.