Fix typos
This commit is contained in:
parent
a9abe87413
commit
88136304e4
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue