#MQTT light resets state after a few seconds

1 messages · Page 1 of 1 (latest)

tall sinew
#

This example message gets sent from my MQTT light after I set it this way using the UI:
{
"state":"ON",
"color":{
"r":0,
"g":0,
"b":0,
"c":212,
"w":0
},
"brightness":4095,
"effect":"Solid"
}
The light updates and everything works well, including the brightness which stays at the correct value. However after approximately 3 seconds the state inside the UI jumps back to 50 for cold white brightness, 50 for warm white brightness and 50 for colour brightness. It does the same when I ask for RGB colour values. No other messages are being sent on any other MQTT channel. Does anyone know what could cause this behaviour?

neat cosmos
#

I guess HA isn't recognizing that state update, and after changing the light when the entity state doesn't change, it reverts back to previous value, assuming the update failed.

#

What are the light entity attributes before and after you change the value in UI?

#

I thought I saw someone recently asking something about 10-bit brightness, which I wasn't aware if we supported. Was that you?

tall sinew
tall sinew
#

And brightness: 255

#

Let me try removing that scaler

tall sinew
tall sinew
#

Correction, this message only updates the brightness

#

Removing brightness scale has no effect

#

Changing to RGB color mode and removing "c" and "w" keys has no effect