Open g1za opened 1 year ago
It really looks like HA takes the assumption battery charge can only happen when there is PV production.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Issue still persistent
This issue is also affecting me.
I charge my batteries overnight at a cheaper rate and then discharge later in the day. I'd expect the following graph to show that the battery charging has consumed power, not produced it. At the moment it looks like the batteries are providing negative usage.
In the above chart I wouldn't expect any negative values and would expect the red bars to be positive.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The bug is still there
I've noticed this issue also and I believe it makes the energy dashboard less useful for those with batteries.
I believe g1za is correct that the energy dashboard assumes that your batteries only charge from solar energy. This is not true for many setups, and lots of people avail of cheap energy at off peak times to charge their batteries.
I have the same issue, with my Growatt battery.
Checklist
Describe the issue you are experiencing
When the next day PV produciton is not enough to cover my needs I charge my battery pack at night, when the cost is the lowest, to cover the future energy needs. I noticed that the gauge shows negative percentages when this is done; maybe the dashboard assumes the battery is charged only when there is PV production? The percentage progressively goes back to something more reasonable as the day progresses.
Describe the behavior you expected
I would expect that the energy used to charge the battery is not accounted when there is no PV production as (negative) "Non-fossil energy". It should just be zero.
Correct behaviour on a normal day with no battery charge at night:
Steps to reproduce the issue
What version of Home Assistant Core has the issue?
2023.11.2
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Tested with Firefox 119.0.1 and mobile companion app. Not a browser issue.
Which operating system are you using to run this browser?
macOS Ventura 13.6.1 and iOS 7.1. Not an OS issue
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response