diff --git a/chch-power.py b/chch-power.py index 9cfd9f4..805ec5d 100644 --- a/chch-power.py +++ b/chch-power.py @@ -89,6 +89,8 @@ def exec_chch_button_cmd(event): if count == 1: if event.pin_num == 0: call(["/home/automation/chch-power/light.sh","1"]) + elif event.pin_num == 1: + call(["/home/automation/chch-power/light.sh","2"]) else: sys.stderr.write("No room specific function for room " + str(event.pin_num) + "\n") # '. .' toggle current room