set color temp to 0 when trying to change color (#36)

* set color temp to 0 when trying to change color

* changed tabs to spaces
This commit is contained in:
pete1450 2017-03-17 08:40:48 -05:00 committed by Teemu R
parent 09f915183b
commit 72cbaa2839

View File

@ -507,6 +507,7 @@ class SmartBulb(SmartDevice):
"hue": state[0],
"saturation": state[1],
"brightness": int(state[2] * 100 / 255),
"color_temp": 0
}
return self.set_light_state(light_state)