Hi friends.
I can change in lovelace a mdi-icon for a custom image in a switch.
I saw that you can also add a class depending on the state but I do not know how to add a css for a card for example vertical
For example a fan image that rotate
Thanks