fix to start timer directly after restart on step with remaining time

This commit is contained in:
avollkopf 2022-03-02 10:29:21 +01:00
parent 1d3298fc60
commit 3cf48fff04
2 changed files with 2 additions and 1 deletions

View file

@ -1 +1 @@
__version__ = "4.0.2.0.a3"
__version__ = "4.0.2.0.a9"

View file

@ -204,6 +204,7 @@ class FermenterStep(CBPiFermentationStep):
if self.fermenter is not None and self.timer is None:
self.timer = Timer(self.fermentationtime ,on_update=self.on_timer_update, on_done=self.on_timer_done)
self.timer.is_running = False
elif self.fermenter is not None:
try:
if self.timer.is_running == True: