- CMD_UNLOCK: ("unlock", 12, [(None, 0.2), (True, 0.3), (False, 0.5)]),
- CMD_LOCK: ("lock", 16, [(None, 0.2), (True, 0.3), (False, 0.5)]),
- CMD_BUZZ: ("buzz", 22, [(None, 0.2), (True, 2.0), (False, 0.5)]),
+ CMD_UNLOCK: CMD("unlock", pin=12, tid=0, todo=[(True, 0.3), (False, 0.1)]),
+ CMD_LOCK: CMD("lock", pin=16, tid=0, todo=[(True, 0.3), (False, 0.1)]),
+ CMD_BUZZ: CMD("buzz", pin=22, tid=1, todo=[(True, 2.5), (False, 0.1)]),
+ CMD_GREEN_ON: CMD("green on", pin=23, tid=2, todo=[(True, 0)]),
+ CMD_GREEN_OFF: CMD("green off", pin=23, tid=2, todo=[(False, 0)]),
+ CMD_RED_ON: CMD("red on", pin=26, tid=2, todo=[(True, 0)]),
+ CMD_RED_OFF: CMD("red off", pin=26, tid=2, todo=[(False, 0)]),