aded wait step when spundung valve is closed

This commit is contained in:
avollkopf 2022-04-04 07:21:41 +02:00
parent 08a841ebe3
commit 946d4c6261
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,3 @@
__version__ = "4.0.5.a2"
__version__ = "4.0.5.a3"
__codename__ = "Spring Break"

View file

@ -138,6 +138,7 @@ class FermenterSpundingHysteresis(CBPiFermenterLogic):
await self.actor_on(self.valve)
await asyncio.sleep(1)
await self.actor_off(self.valve)
await asyncio.sleep(2)
current_pressure = float(self.get_sensor_value(self.fermenter.pressure_sensor).get("value"))
logging.info("Value higher than target: Spunding loop is running")