Fix in case no valve is defined for fermenter

This commit is contained in:
avollkopf 2022-04-05 07:43:19 +02:00
parent 4acb19fcc5
commit 1f25b3ae03
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
__version__ = "4.0.5.a4" __version__ = "4.0.5.a5"
__codename__ = "Spring Break" __codename__ = "Spring Break"

View file

@ -117,7 +117,7 @@ class FermentationController:
pressure_sensor = data.get("pressure_sensor") pressure_sensor = data.get("pressure_sensor")
heater = data.get("heater") heater = data.get("heater")
cooler = data.get("cooler") cooler = data.get("cooler")
valve = data.get("valve") valve = data.get("valve","")
logictype = data.get("type") logictype = data.get("type")
temp = data.get("target_temp") temp = data.get("target_temp")
pressure = data.get("target_pressure") pressure = data.get("target_pressure")