How to change the Light Card icon

I tried to change the icon, but I can’t. This is what I have done:


What should I do?
Thanks in advance

Change the icon in the customize section.

homeasstant:
  customize:
    light.flexo:
      icon: mdi:desk-lamp

or through the UI

1 Like

I’ve made the changes and it works well.
The collaborative atmosphere of this forum is admirable.

1 Like

If you advance with buttons, I would love to point you out to this card:

This card is very versatile and configuring icons with it is super easy.

It makes buttons like these possible:

1 Like

Thank you very much for your suggestions. I promise to study it, but I still have a lot to learn about H.A.