Przeglądaj źródła
Merge pull request #181 from clearwaterbrewer/patch-1
Fix hysteresis turning off heater
pull/211/head
Manuel83
GitHub
7 lat temu
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z
0 dodań i
2 usunięć
-
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) |
|
|
|
|