Switches appearance

hello, for me this is totally new! I’ve been using H.A for many years and all my switches have always behaved like lights (slide button) staying fixed when turned on, the icon changed color.
I had to reinstall from scratch 2 weeks ago, and now all the switches have two spokes and don’t stay lit when turned on, but the icon doesn’t change color.
I already tried to change from switch to lamp in the settings of this, then it changes to a slide button, but it doesn’t stay fixed on and it doesn’t change the color of both the button and the icon.

I would like the icon to change color when the switch is on, and to be on and off when I have a master button at the top of the card.

Has anyone already solved this?

Light_switch
Switch aparance
Yaml

The YAML code is off another switch, only to show the estruture í used!

Regard