mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 14:38:15 +01:00
fix for loading fermenterrecipes from recipe book -> add endtime = 0
This commit is contained in:
parent
b84e33822b
commit
a16c14feca
2 changed files with 2 additions and 1 deletions
|
@ -1 +1 @@
|
|||
__version__ = "4.0.2.0.a10"
|
||||
__version__ = "4.0.2.0.a11"
|
||||
|
|
|
@ -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")))
|
||||
|
|
Loading…
Reference in a new issue