mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-25 08:28:23 +01:00
aded wait step when spundung valve is closed
This commit is contained in:
parent
08a841ebe3
commit
946d4c6261
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
||||||
__version__ = "4.0.5.a2"
|
__version__ = "4.0.5.a3"
|
||||||
__codename__ = "Spring Break"
|
__codename__ = "Spring Break"
|
||||||
|
|
||||||
|
|
|
@ -138,6 +138,7 @@ class FermenterSpundingHysteresis(CBPiFermenterLogic):
|
||||||
await self.actor_on(self.valve)
|
await self.actor_on(self.valve)
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
await self.actor_off(self.valve)
|
await self.actor_off(self.valve)
|
||||||
|
await asyncio.sleep(2)
|
||||||
current_pressure = float(self.get_sensor_value(self.fermenter.pressure_sensor).get("value"))
|
current_pressure = float(self.get_sensor_value(self.fermenter.pressure_sensor).get("value"))
|
||||||
logging.info("Value higher than target: Spunding loop is running")
|
logging.info("Value higher than target: Spunding loop is running")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue