Open nima-1102 opened 1 month ago
We need more information. That error message is from HA, the mqtt integration. It's not an esphome error. Is that mqtt payload what is getting sent to esphome? Is the light changing to what you want, but the color displayed in HA is wrong?
We need more information. That error message is from HA, the mqtt integration. It's not an esphome error. Is that mqtt payload what is getting sent to esphome? Is the light changing to what you want, but the color displayed in HA is wrong?
This is the payload which, after I have changed the light from e.g. OFF or RGB to cold/warm white temperature via the Home Assistant GUI, ESPHome stores as a state in mqtt under "lamp-gu10-2/light/test-light/state". Yes, the light changes color temperature, but color displayed in HA is wrong because the data is not changed due to "Invalid color mode".
I don't know if ESPHome sets the color_mode incorrectly or if the color_mode is just not defined in Home Assistant.
The problem
RGB works without any problems with the RGBWW Light, but as soon as you want to set the cold/warm white temperature via the Homeassistant GUI, the lamp temperature changes as desired, but a warning appears. The last RGB color is then displayed as the current light color and not the current cold/warm white temperature.
Which version of ESPHome has the issue?
2024.9.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.9.3
What platform are you using?
BK72XX
Board
WBLC5
Component causing the issue
mqtt / rgbww
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
MQTT Payload of the Warm / Cold Temp change:
{"color_mode":"cwww","state":"ON","brightness":133,"color":{"c":0,"w":255}}
color_interlock is required for the SM2135 LED driver.