WTH: All last_changed attributes for sensors reset on each restart

I know this has been discussed in many places before, and there are various technical difficulties, etc. But every single time I restart Home Assistant, this is a WTH moment.

As an example, if I have a bunch of ping sensors doing their thing, if I restart Home Assistant their last_changed timestamps all reset to the last restart time of Home Assistant. This loses a lot of value in not being able to clearly see if a device has been online/stable for periods longer than 2 weeks (or however long it is between udpates).

Ahh just found this is a duplicate of:

Now that you’ve linked to it, you can mark this one resolved. Or just delete this one.