I’m trying to wrap my head around the RGB lights in Home Assistant.
You can have RGB and brightness but how do you achieve the two combined? So how can you set your light to “red” and then make it darker. Sliding the brightness to a lower value resets the colour to white which is not what I want.
I’ve not had an opportunity to use that light-entity-card.
However it looks possible with the correct options combinations. What options are you using? Card options link
Perhaps the author of the light-entity-card could help? Post the question on the github issue page.
BTW when using WLED w/Hass, it will auto populate a working card. no muss no fuss. just saying
Thanks for your suggestions. I’ve implemented brightness on the ESP32. I used to calculate brightness on the client side based on the chosen colour (using this colour picker: iro.js). I understand HA expects this to be implemented on the device side.
I have made my favourite colors here is my color setup for RGB colours are (true red, sand yellow, pinky purple,lightish green, dark blue, true white) in that order. I copied and pasted my hole card color part things lol