frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Energy flows getting home and battery confused

Open witchdrash opened this issue 3 months ago • 3 comments

Checklist

  • [x] I have updated to the latest available Home Assistant version.
  • [x] I have cleared the cache of my browser.
  • [x] I have tried a different browser to see if it is related to my browser.
  • [x] I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

Home energy flow is showing high battery flows from battery to grid, and grid to home.

The actual flows are grid to battery and battery to home, the raw data higher up is correct, but the flows are all over the place.

Image Image

Describe the behavior you expected

I would expect to see high grid to battery flows and high battery to home, we’re entirely off grid during peak times and only draw from the grid off peak, including charging battery.

Steps to reproduce the issue

There’s not steps it’s just the new energy flow on the energy tab

What version of Home Assistant Core has the issue?

2025.10.0

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

app/edge/safari

Which operating system are you using to run this browser?

iOS 26, windows 11, Mac OS X (unsure version)

State of relevant entities

Picture of entities provided

Problem-relevant frontend configuration


JavaScript errors shown in your browser console/inspector


Additional information

No response

witchdrash avatar Oct 02 '25 22:10 witchdrash

Can you please attach an energy CSV export, it should have all the numbers in it. Then point out which cells specifically you think are incorrect.

karwosts avatar Oct 02 '25 22:10 karwosts

We can't reliably predict this with the current config data we have. We assume that the batteries are charged from solar as that is the most common scenario. Maybe we can prioritize grid return before battery charging for solar excess but this will be incorrect for people that fill their battery and then start exporting to the grid.

MindFreeze avatar Nov 24 '25 10:11 MindFreeze

Hello I have same issue on my side. My battery can be charged via solar panel but also during the night from the grid with off-peak hours. During the night, we can see a negative number like injection, but this correspond well to consumption from the grid.

Image Image

CharlesP44 avatar Dec 06 '25 23:12 CharlesP44