mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
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:
parent
09f915183b
commit
72cbaa2839
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user