Skip to content

Commit

Permalink
set color temp to 0 when trying to change color (#36)
Browse files Browse the repository at this point in the history
* set color temp to 0 when trying to change color

* changed tabs to spaces
  • Loading branch information
pete1450 authored and rytilahti committed Mar 17, 2017
1 parent 09f9151 commit 72cbaa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyHS100/pyHS100.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ def hsv(self, state):
"hue": state[0],
"saturation": state[1],
"brightness": int(state[2] * 100 / 255),
"color_temp": 0
}
return self.set_light_state(light_state)

Expand Down

0 comments on commit 72cbaa2

Please sign in to comment.