Explanation
I am currently working on making an integration. Much of it is already working.
But I have a problem and can’t find the solution anywhere.
Problem
I’m working on making a windturbine integration. For this I use an API that returns an XML file with production data.
I found a problem with this. And that is that 5 minutes after the hour the API shows the correct kWh for that hour. But this means there is a difference between the graph of Home Assistant energy management tab and the original app. This also means that when the day is over, the total will not align with the correct values.
Question
Is there a possibility to update the sensor/graph of the Home Assistant energy management tab after the hour/day has passed?