From 946d4c6261eb42ae61b665dd536a1c67f8ca9ee0 Mon Sep 17 00:00:00 2001 From: avollkopf <43980694+avollkopf@users.noreply.github.com> Date: Mon, 4 Apr 2022 07:21:41 +0200 Subject: [PATCH] aded wait step when spundung valve is closed --- cbpi/__init__.py | 2 +- cbpi/extension/FermenterHysteresis/__init__.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cbpi/__init__.py b/cbpi/__init__.py index cadc596..a9ef99d 100644 --- a/cbpi/__init__.py +++ b/cbpi/__init__.py @@ -1,3 +1,3 @@ -__version__ = "4.0.5.a2" +__version__ = "4.0.5.a3" __codename__ = "Spring Break" diff --git a/cbpi/extension/FermenterHysteresis/__init__.py b/cbpi/extension/FermenterHysteresis/__init__.py index a384d96..cb187e3 100644 --- a/cbpi/extension/FermenterHysteresis/__init__.py +++ b/cbpi/extension/FermenterHysteresis/__init__.py @@ -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")