custom-cards / button-card

❇️ Lovelace button-card for home assistant
MIT License
1.93k stars 233 forks source link

Question about custom icons #785

Open superabbite1 opened 11 months ago

superabbite1 commented 11 months ago

I configured a piece of code that now uses the icon: mdi:light-recessed setting. I want to change this icon to a custom icon in the local/test/ path, and display different custom icons in the entity switch state. How to implement this configuration? Can you give me some guidance? Thank you. `type: picture-elements image: /local/home/img/123.png elements:

superabbite1 commented 11 months ago

Can anyone give me some guidance?