peter-murray / node-hue-api

Node.js Library for interacting with the Philips Hue Bridge and Lights
Apache License 2.0
1.19k stars 145 forks source link

setLightState group conditional should test for false rather than true #4

Closed jonlong closed 11 years ago

jonlong commented 11 years ago

Was running into the following error immediately after running setLightState on a newly-created group:

Api Error: The group id '1' is not valid for this Hue Bridge.

Looks like the conditional here should be testing for a false value rather than true.

jonlong commented 11 years ago

Thanks! And thanks for a killer library—really well done.

peter-murray commented 11 years ago

You are welcome, and thanks for the bug fix. I will release this into npm this weekend.

Sent from my iPad

On 1 May 2013, at 14:49, "Jon Long" notifications@github.com<mailto:notifications@github.com> wrote:

Thanks! And thanks for a killer library—really well done.

— Reply to this email directly or view it on GitHubhttps://github.com/peter-murray/node-hue-api/pull/4#issuecomment-17282114.