Capture last change sensor update

I have a sensor that displays a date when I last exercised. so it changes every time Ive exercised. output is for example 2023-08-11 20:03:29.

I want to put the moment of change in an automation, is that possible? So capture the last time the sensor changes

It is already available as a property (not attribute) of the sensor:

"{{ states.sensor.your_sensor_here.last_changed }}"
1 Like