Open frodef opened 6 months ago
That is correct. This integration listens for whenever your mains power sensor changes it's value, and then re-calculates all sensors that this integration exposes.
Ideally this should be fixed, however this is a rather major undertaking, which I don't have time to do myself.
As I don't have solar panels installed, verifying the fix would not be easy either.
Contributions in the form of a pullrequest that fixes this are more than welcome :)
I'm observing currently that the "Available power" entity is not updating since the start of the hour. The value remains stuck at the value of target_energy.
I am currently running on solar power, and therfore my "Energy used this hour" entity remains at zero, and has not been updated since the start of the hour. I am guessing this is why "Available power" is not updating: It is currently only updated when "Energy used this hour" is updated?
If so, I would suggest adding an update every minute or so, regardless of whether "Energy used this hour" is updated.