How can I add a label with the last_changed state for en entity? I.e. the same as the entities card secondary_info: last_changed displays.
Same question here. I would like to know this too.
Same here: how?
One option would be to use custom:button-card
as one of the elements and configure it to show last_changed
. Something like this
type: picture-elements
image: /local/images/floorplan.svg
elements:
- entity: binary_sensor.tursensor_wohnungstur
style:
left: 91.6%
top: 22.5%
width: 12%
styles:
card:
- font-size: 8px
- background-color: rgba(0,0,0,0.0)
type: custom:button-card
show_name: false
show_last_changed: true
I had to fiddle a bit with width and font-size, as behavior seems a bit odd sometimes (for someone like me who has ~0 CSS experience), but works OK for me now
1 Like