Example #1
0
def remote(cmd):
	r=Remote()
	if cmd == "on":
		r.on()
	else:
		r.off()

	return "ok"