mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Update __init__.py
removed lines 37 and 38 to make hysteresis work properly.
This commit is contained in:
@@ -34,7 +34,5 @@ class Hysteresis(KettleController):
|
|||||||
self.heater_on(100)
|
self.heater_on(100)
|
||||||
elif self.get_temp() >= self.get_target_temp() - float(self.off):
|
elif self.get_temp() >= self.get_target_temp() - float(self.off):
|
||||||
self.heater_off()
|
self.heater_off()
|
||||||
else:
|
|
||||||
self.heater_off()
|
|
||||||
self.sleep(1)
|
self.sleep(1)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user