Skip to content

Commit

Permalink
make forced ventilation not set monitor check inhibit
Browse files Browse the repository at this point in the history
  • Loading branch information
BeamCtrl committed Dec 17, 2023
1 parent 17235ab commit 37e5a91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airiana-core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2083,6 +2083,7 @@ def forced_ventilation(dev):
bytes("Vent Timer canceled at:\t" + str(time.ctime()) + "\n", encoding='utf8')))
dev.set_monitoring(True)
dev.timer = False
dev.inhibit = 0
return
except IndexError:
traceback.print_exc(ferr)
Expand All @@ -2100,6 +2101,7 @@ def forced_ventilation(dev):
tim = threading.Timer(60.0 * 120, dev.reset_fanspeed, [prev])
tim.name = "Timer"
dev.timer = time.time()
dev.inhibit = 0
tim.start()


Expand Down

0 comments on commit 37e5a91

Please sign in to comment.