fix for loading fermenterrecipes from recipe book -> add endtime = 0

This commit is contained in:
avollkopf 2022-03-02 19:40:22 +01:00
parent b84e33822b
commit a16c14feca
2 changed files with 2 additions and 1 deletions

View file

@ -1 +1 @@
__version__ = "4.0.2.0.a10"
__version__ = "4.0.2.0.a11"

View file

@ -625,6 +625,7 @@ class FermentationController:
fermenter = self._find_by_id(fermenterid)
def add_runtime_data(item):
item["status"] = "I"
item["endtime"] = 0
item["id"] = shortuuid.uuid()
item["props"]["Sensor"] = fermenter.sensor
list(map(lambda item: add_runtime_data(item), data.get("steps")))