#Placing pictures instead of icons
1 messages · Page 1 of 1 (latest)
somebody? anybody?
Use a picture element. Set the tap action to "turn off", and then hide it and unhide the "off" version.
I think you can also do it with custom button cards
you can also use mushroom template cards eg :
`type: custom:mushroom-template-badge
content: ""
icon: mdi:mushroom
color: red
picture: |
https://img.icons8.com/officel/80/000000/electric-teapot.png
entity: sensor.kettle_status_2
visibility:
- condition: state
entity: sensor.kettle_status_2
state: heating`
(Note there is no tap action, it just displays when the kettle is on - but there could be a tap action to turn it off etc)
picture-entity card can have a separate image for on/off states.