Fix nuheat reverting to auto mode after setting temp hold (#33772)

* Fix nuheat reverting to auto mode after setting temp hold

* clamp temp
This commit is contained in:
J. Nick Koston authored and GitHub committed 2020-04-07 10:16:31 -07:00
1 parent 8fb89854d3
commit 81569f10c0
2 files changed
+35 -5

No files matched your search

+8 -1
View File
@@ -8,4 +8,11 @@ CONF_SERIAL_NUMBER = "serial_number"
MANUFACTURER = "NuHeat"
NUHEAT_API_STATE_SHIFT_DELAY = 4
NUHEAT_API_STATE_SHIFT_DELAY = 1
TEMP_HOLD_TIME_SEC = 43200
NUHEAT_KEY_SET_POINT_TEMP = "SetPointTemp"
NUHEAT_KEY_SCHEDULE_MODE = "ScheduleMode"
NUHEAT_KEY_HOLD_SET_POINT_DATE_TIME = "HoldSetPointDateTime"
NUHEAT_DATETIME_FORMAT = "%a, %d %b %Y %H:%M:%S GMT"