Skip to content

Commit

Permalink
Merge pull request #2 from mcterrySep/patch-1
Browse files Browse the repository at this point in the history
added setSat(255) for the StateUpdate
  • Loading branch information
MMore committed Feb 6, 2014
2 parents fde2df2 + 00559d6 commit 63fc8c2
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 63fc8c2

Please sign in to comment.