From faa2b9d32c57b46e7e658012936a424cb907f678 Mon Sep 17 00:00:00 2001 From: clearwaterbrewer <34481584+clearwaterbrewer@users.noreply.github.com> Date: Thu, 5 Apr 2018 10:49:35 -0400 Subject: [PATCH] Update __init__.py removed lines 37 and 38 to make hysteresis work properly. --- modules/base_plugins/hysteresis/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/base_plugins/hysteresis/__init__.py b/modules/base_plugins/hysteresis/__init__.py index ebc7419..01a726b 100644 --- a/modules/base_plugins/hysteresis/__init__.py +++ b/modules/base_plugins/hysteresis/__init__.py @@ -34,7 +34,5 @@ class Hysteresis(KettleController): self.heater_on(100) elif self.get_temp() >= self.get_target_temp() - float(self.off): self.heater_off() - else: - self.heater_off() self.sleep(1)