LIFX Developer Zone

Lowering Kelvin value of a light using HTTP API


#1

Hello, I use my Zipatile domotica to change the Brightness and Kelvin values of my lamps. This works great using the API except for 1 thing: lowering the Kelvin value using the API REST delta command. It seems the Kelvin value is not allowed to be negative anymore. I’m sure this worked before. Is this a bug?
Using the HTTP API page I get the following error when using -500 as a delta value for Kelvin:
“error”: “kelvin does not have a valid value”,
“errors”: [
{
“field”: “kelvin”,
“message”: [
“does not have a valid value”
]
What am I doing wrong or is this a bug? Negative values still work for Brightness.


#2

That does sound like a bug, we’ll look into it.