diff --git a/shroom_controller.py b/shroom_controller.py index e566ef8..c79796b 100644 --- a/shroom_controller.py +++ b/shroom_controller.py @@ -137,7 +137,7 @@ class Humidifier: # the wiring's a little different so the thresholds for detecting on/off are inverted but hopefully a lot more reliable than the original class HumidifierV2: - def __init__(self, toggle_cmd=b"i", humidifier_id="humdifier2"): + def __init__(self, toggle_cmd=b"i", humidifier_id="humidifier2"): self.on_threshold = 1.5 self.off_threshold = 2.5 self.toggle_cooldown = 7 @@ -159,7 +159,7 @@ class HumidifierV2: print("send hum 2 on") else: print("send hum 2 off") - send_update({"status": {humdifier_id: nv}}) + send_update({"status": {humidifier_id: nv}}) @property def off(self):