Hi,
I’ve just noticed scenes saved with a hue value of 0 (i.e. a “red” scene) aren’t returning the 0 hue value in the HTTP API “/scenes” endpoint response.
To replicate…
- Set a light to “red” via the “/state” endpoint using:
{color: "hue:0 saturation:1 brightness:1"}
- Save a new scene using just that light in its “red” state via the LIFX iOS app (v3.7.4)
- Inspect your scenes via the “/scenes” endpoint and you’ll see no hue value for your new red scene
Applying that new red scene via the “/activate” endpoint sets your light to red, but as the “/scenes” endpoint does not return a hue value you’re unable to create a GUI in your apps to represent the fact that scene is indeed red.
Hope that makes sense! I can also replicate this with a hue value of 1.
Cheers.