def create_schedule(): h = Hue() body = dict(on=False) command = dict(address='/api/<your user name here>/lights/3/state', method='PUT', body=body) h.create_schedule('Tests', 'this is test', command)
def create_schedule(): h = Hue() body = dict(on=False) command = dict(address='/api/<your user name here>/lights/3/state', method='PUT', body=body) h.create_schedule('Tests', 'this is test', command)