Hi, let me start by saying I have been searching for this one and haven’t found any prior posts that are on point. I am sure there must be, so sorry if this is obvious.
I would like for my glance lovelace card to display the last trigger time for open doors, motion, etc that comes from a sensor/binary sensor, similar to using the “show_last_changed”, except the last changed setting also takes on the time that the system was last reboot.
Please see attached screenshots of the cards I am trying to display the last trigger for.
So for example one of the the door/gate sensors would be binary_sensor.front_door_contact
They register as ‘open’ or ‘closed’. I am using “show_last_changed” on the entity card to show me when it was last opened. However, the problem is if you reboot the system, it wipes the last open time. So I was wondering if there was a better way of doing it.