added parameter for lounge light
This commit is contained in:
parent
db00dbb113
commit
38863e1714
|
@ -88,7 +88,7 @@ def exec_chch_button_cmd(event):
|
||||||
# '.' room specific function
|
# '.' room specific function
|
||||||
if count == 1:
|
if count == 1:
|
||||||
if event.pin_num == 0:
|
if event.pin_num == 0:
|
||||||
call(["/home/automation/chch-power/light.sh"])
|
call(["/home/automation/chch-power/light.sh","1"])
|
||||||
else:
|
else:
|
||||||
sys.stderr.write("No room specific function for room " + str(event.pin_num) + "\n")
|
sys.stderr.write("No room specific function for room " + str(event.pin_num) + "\n")
|
||||||
# '. .' toggle current room
|
# '. .' toggle current room
|
||||||
|
|
Loading…
Reference in New Issue