Open ElVincenco opened 5 years ago
I want to send l = self.b.get_light_objects('id') l[12].transitiontime = 100 l[12].hue = tsl[0] l[12].saturation = tsl[1] l[12].brightness = 150 l[12].on = True in one Command. how can i do this?
l = self.b.get_light_objects('id') l[12].transitiontime = 100 l[12].hue = tsl[0] l[12].saturation = tsl[1] l[12].brightness = 150 l[12].on = True
you can send multiple values with command = {'on' : True, 'bri': 254} then call b.set_light(#lightnumber, command)
command = {'on' : True, 'bri': 254}
b.set_light(#lightnumber, command)
I want to send
l = self.b.get_light_objects('id') l[12].transitiontime = 100 l[12].hue = tsl[0] l[12].saturation = tsl[1] l[12].brightness = 150 l[12].on = True
in one Command. how can i do this?