I love the new energy panel and would really like to make use of it. Unfortunately, I don’t have a way of monitoring my total energy usage directly.
The good news: My electricity provider has a really nice API that lets me fetch power consumption down to the hour, for any time that I’ve been a customer. There’s years worth of data.
The bad news: Data in the API is delayed by about two days. So the current day, and the day before, are always listed as 0 kWh consumed.
I already have a custom component that can report usage for the current month, and correctly reports the last_reset date - and it works fine - but this effectively shifts all my data by about two days, and I can’t make use of the hourly readings.
I don’t actually care that much about real-time data - but I would like to compare actual usage to the devices I have in my house. So I need the dates to be synchronised.
So, the question: Is there any way for me to not use the actual sensor for power consumption, but instead backfill all the data I have available?