Skip to content

Commit c8ea18b

Browse files
authored
Merge pull request #81 from colindomoney/master
Fix issue with manual switch mode
2 parents 52361aa + 2f4ed99 commit c8ea18b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/automatic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ def held_handler():
146146
elif t <= args.off_threshold:
147147
enable = False
148148

149-
if set_fan(enable):
150-
last_change = t
149+
if set_fan(enable):
150+
last_change = t
151151

152152
if not args.noled:
153153
update_led_temperature(t)

0 commit comments

Comments
 (0)