fixed command names
This commit is contained in:
parent
48b627ad4b
commit
3e1ea6ac4e
|
@ -79,13 +79,13 @@ def cmd_lounge_light(inp, reply=None):
|
||||||
|
|
||||||
reply(check_output("echo lounge_light " + args[0] + " | ssh -q -p 2322 command@127.0.0.1", shell=True).strip("\n").decode("utf-8"))
|
reply(check_output("echo lounge_light " + args[0] + " | ssh -q -p 2322 command@127.0.0.1", shell=True).strip("\n").decode("utf-8"))
|
||||||
|
|
||||||
@hook.command("e-lab_light_toggle", autohelp=False)
|
@hook.command("elab_light_toggle", autohelp=False)
|
||||||
def cmd_e-lab_light_toggle(inp, reply=None):
|
def cmd_elab_light_toggle(inp, reply=None):
|
||||||
"""toggle e-lab light modes"""
|
"""toggle e-lab light modes"""
|
||||||
reply(check_output("echo e-lab_light_toggle | ssh -q -p 2322 command@127.0.0.1", shell=True).strip("\n").decode("utf-8"))
|
reply(check_output("echo e-lab_light_toggle | ssh -q -p 2322 command@127.0.0.1", shell=True).strip("\n").decode("utf-8"))
|
||||||
|
|
||||||
@hook.command("e-lab_light", autohelp=False)
|
@hook.command("elab_light", autohelp=False)
|
||||||
def cmd_e-lab_light(inp, reply=None):
|
def cmd_elab_light(inp, reply=None):
|
||||||
"""set e-lab light color"""
|
"""set e-lab light color"""
|
||||||
args = inp.split(" ")
|
args = inp.split(" ")
|
||||||
if len(args) < 1:
|
if len(args) < 1:
|
||||||
|
|
Reference in New Issue