Hi, I've made a script that fetches my hourly gas consumption of the day before from my gas distributor website.
I now want to make that data available to the energy dashboard but I'm a bit lost.
I tried using the /api/states endpoint to insert the data in a custom sensor but I'm unable to set each datapoint to a specific timestamp, everything gets inserted at the current timestamp.
Does anyone could give me directions to achieve that please?
Thanks a lot in advance!