added parameter for lounge light
This commit is contained in:
parent
db00dbb113
commit
38863e1714
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue