LOVELACE glance card, how to show minutes since last movement

hello, my motion sensors shows me the date and time since last movement, but i wanna see how many minutes passed since the last movement.

template? pluggin? or simple js?

Help please!

2 Likes

I have a similar issue, but in reverse so I’m watching this.

On one of my entity filter cards, my door opened item shows elapsed time, like “3 hours ago”… and I’d like it to show date and time.

Did you get this somehow? How do I get the date and time since last movement. @Alfonsolsl would you care to publish your config for the card?

type: entities
entities:
  - entity: binary_sensor.sensor_room_motion
    name: Motion
    secondary_info: last-changed
1 Like