Binary sensor last-changed not displaying correct value

Hi. I am displaying the status of a few binary sensors in the lovelace gui like this:

  • entity: binary_sensor.alarm-sensor_5_modified
    secondary_info: last-changed
  • entity: binary_sensor.alarm-sensor_6_modified
    secondary_info: last-changed

This worked like a charm for ~1,5 years. I recently updated my HASS, and I think that since then the last-changed value is not correct anymore. If i trigger a sensor now, the last-changed value is immediately 47 seconds instead of 0 seconds! Have no idea howcome. Any ideas? The counting itself works, but i can’t think of any reason why it doesn’t start counting at 0.

Any idea or suggestion is appreciated.

The issue got resolved. To be honest i have no idea what caused it to be resolved. It might have to do with the fact that the sensor was mentioned twice on the card, however i was not able to reproduce it.