added parameter for lounge light

This commit is contained in:
root 2017-03-04 15:21:55 +00:00
parent db00dbb113
commit 38863e1714
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ def exec_chch_button_cmd(event):
# '.' room specific function
if count == 1:
if event.pin_num == 0:
call(["/home/automation/chch-power/light.sh"])
call(["/home/automation/chch-power/light.sh","1"])
else:
sys.stderr.write("No room specific function for room " + str(event.pin_num) + "\n")
# '. .' toggle current room