- adding some FIXME ideas for later implementation

pull/1/head
jbruce 2018-11-29 11:21:33 -05:00
rodzic 9641cf2b7c
commit e25a37c867
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -14,6 +14,13 @@ class OvenWatcher(threading.Thread):
self.oven = oven
self.start()
# FIXME - need to save runs of schedules in near-real-time
# FIXME - this will enable re-start in case of power outage
# FIXME - re-start also requires safety start (pausing at the beginning
# until a temp is reached)
# FIXME - re-start requires a time setting in minutes. if power has been
# out more than N minutes, don't restart
def run(self):
while True:
oven_state = self.oven.get_state()