I have several door and window sensor of Aqara.
I have a lovelace card showing if the door is open or closed.
And showing last change (secondary_info: last-changed )
But when I restart home assistant the last-changed is reset to time home assistant is restarted.
In the logger I can see that it actually records last time the state was changed. How can I get this info to show in my lovelace card?
This is an example of the entity.