WLED colour temp no longer working

I have some RGBWW LED strips hooked up to WLED controllers. For the most part, the integration with HA is great! But I was frustrated that I couldn’t send colour temp commands to the lights, by action or in the frontend.

To get around this, I used this fork of the WLED integration for a while. It worked, but introduced a few other unwanted bugs/behaviours compared to the official version. If I remember correctly, the official WLED integration added colour temp support a while ago, so I made the switch! It worked for a bit but… it seems the option to send a colour temperature has once again disappeared.

Not sure if it’s on my end or what. Any suggestions? Is this being worked on?

color_temp is depreciated for all lights. You can use color_temp_kelvin instead.

https://www.home-assistant.io/integrations/light/#action-lightturn_on

Hmm, yeah the action works, but Home Assistant still seems to think the lights don’t support color temp. Specifically, there’s no option to adjust the color temp in the UI:


The same goes for custom cards, like the mushroom light card. They seem to think the light doesn’t support color temp, even if the action works just fine.

Upon further investigation… it looks like WLED lights accept color_temp_kelvin values in actions, but their ‘supported_color_modes’ attribute has only one value: ‘rgb’. I think that’s the issue here.

Ah yeah, after looking into it a bit more, I see the issue.
WLED’s UI fakes color temp support for RGB lights (even if they’re not RGBW/RGBCCT). HA can also set a color temp on such lights, but only via the light.turn_on action, not through the UI.

That fork of the WLED integration does allow setting it in the UI, so I guess this is just a feature request I have lol.