Skip to content

Commit

Permalink
added setSat(255) for the StateUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
mcterrySep committed Nov 26, 2013
1 parent fde2df2 commit 00559d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public boolean setColor(Light light, LightColor color) {
if (null == this.hueBridge || null == light || null == color)
return false;

StateUpdate stateUpdate = new StateUpdate().turnOn().setBrightness(255).setHue(color.getHue());
StateUpdate stateUpdate = new StateUpdate().turnOn().setBrightness(255).setSat(255).setHue(color.getHue());

try {
this.hueBridge.setLightState(light, stateUpdate);
Expand Down

0 comments on commit 00559d6

Please sign in to comment.