mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-26 16:46:23 +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],
|
"hue": state[0],
|
||||||
"saturation": state[1],
|
"saturation": state[1],
|
||||||
"brightness": int(state[2] * 100 / 255),
|
"brightness": int(state[2] * 100 / 255),
|
||||||
|
"color_temp": 0
|
||||||
}
|
}
|
||||||
return self.set_light_state(light_state)
|
return self.set_light_state(light_state)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user