Skip to content

Commit 6e5b1ae

Browse files
committed
update ranges
1 parent 35ee747 commit 6e5b1ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dmxController.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ def off():
5757
last_state = None
5858
last_state_type = None
5959
times = [
60-
[(700, 800), (1510, 2130)], # Monday
61-
[(700, 800), (1550, 2130)], # Tuesday
62-
[(700, 800), (1550, 2130)], # Wednesday
63-
[(700, 800), (1550, 2130)], # Thursday
64-
[(700, 800), (1510, 2200)], # Friday
60+
[(700, 750), (1500, 2130)], # Monday
61+
[(700, 750), (1600, 2130)], # Tuesday
62+
[(700, 750), (1600, 2130)], # Wednesday
63+
[(700, 750), (1600, 2130)], # Thursday
64+
[(700, 750), (1330, 2200)], # Friday
6565
[(900, 2200)], # Saturday
6666
[(900, 2130)], # Sunday
6767
]
@@ -87,7 +87,7 @@ def callback():
8787
off()
8888
last_state = 0
8989

90-
if time >= 2100 or time <= 700:
90+
if time >= 2100 or time <= 715:
9191
if last_state_type != 1:
9292
dimmer()
9393
last_state_type = 1

0 commit comments

Comments
 (0)