#Placing pictures instead of icons

1 messages · Page 1 of 1 (latest)

languid cedar
#

Hey everyone. How do I put pictures for these tiles instead of icon and title? I mean, I want the whole tile thingy to be a picture, instead of icon and title. And, preferably, I would also want to have two pictures based on whether the entity is turned on or off.

languid cedar
#

somebody? anybody?

formal coral
#

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

past acorn
#

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)

hushed condor
#

picture-entity card can have a separate image for on/off states.