I have a RESTful sensor that grabs data from an API every 5 minutes. The trouble is that the API shows data with a 15 minute delay. So if you want data for now (12:00 PM), you have to wait until 12:15 PM when that data is available (and timestamped for 12:00 PM).
I want to get this data and have Home Assistant understand it as data from 12:00 PM, not 12:15 PM which is the time we grabbed it. Is there a way to do this? In other words, to give new states a timestamp in the past instead of the default “now”?