Lovelace Card - Light with Profiles

Yes, of course. The card is working as expected. The only problem is the icon not changing the color when activated…

Difficult… the only thing i can imagine now is that the x y and brightness does not correspondate to the ones in your lovelace yaml code. But as you mentioned, this is the same. And you tried adding ‘active’ as attribute in the generated HTML code in your browser and that works. So the only thing that doesn’t work is that the component does not inject ‘active’ as attribute on the selected profile…

I’m running out of my cards… probably someone else knows this? :frowning:

Ok I can survive also without the color changing, waiting other ideas…
Thanks!

sorry I have been busy.

The profile has to be exactly the same as the value being set but the button.
I have seen that even then you set a light from a profile the value set deffers slitly. lets say you sent brightness 255, then the vlaue can end up 254 because of the light it self.

Try this:

  • click the button so the profile activates
  • go to developer tools in HA and find the light
  • check the values set and if it differs set that value in your profiles.yaml

I like the idea of this card - but cannot really figure how to install it.

Is it still available in HACS? And if so…how do I find it? Tried to search but to no result…