Manually set sensor state - for a different time/date

I know it is possible to manually set the state of a sensor (via the “Developer Tools -> States” page, REST API, etc).

But is it possible to set the state of a sensor in the past?

I want to show a graph of historical data, but I don’t get the data until the next day. Basically, what I want to do is say “At this point in the past, this sensor had this value”.

1 Like

you mean you don’t want to set the sensor’s state but the sensor’s last_changed attribute in the past?
I don’t believe it’s possible…