amaximus / garbage-collection-card

Custom Lovelace card for Garbage Collection custom component
MIT License
128 stars 24 forks source link

Implement the use of custom icons (.jpg) #26

Closed SuperNeo84 closed 4 years ago

SuperNeo84 commented 4 years ago

It can possible, to implement the use of custom icon (for eg. a .jpg file )?

amaximus commented 4 years ago

The card takes the icon information from the custom component. The custom component allows customizing the icons, however the de facto icons are Material Design Icons (mdi:something). You may try however to specify a local path like "/local/your_img.png". Be aware of rules on local images (size, transparency, etc.).