From 88136304e420c32915a93dfc3e9c684e9dcfbc90 Mon Sep 17 00:00:00 2001 From: Kelvin Ly Date: Wed, 27 Sep 2023 07:35:49 -0400 Subject: [PATCH] Fix typos --- shroom_controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):