How to get a timestamp from a measurement in the past

You could set a datetime helper.
Or an input text.
Or write to a file (I guess is possible).

It depends on how this is being used later I guess.

File: File - Home Assistant

Example usage: Save state to text file - #4 by chairstacker

1 Like