Energy graph not showing grid import correctly

Hi

Got a bit of a weird issue with my energy graph. Here’s an example for today:-

You can see an impossible scenario - 2.7 kWh put into my battery overnight in that one hour slot but only 0.6 kWh consumed from the grid. You night think that this is a problem with my sensors or the configuration, but it’s not because if you look further down…

You can see the correct values (8 kWh total import of which 7.3 kWh went into the battery).

The overview widget is also correct - it’s only the graph that doesn’t make sense:-

Running 2023.6.2 on HAOS 10.2

Any ideas?

Cheers,

Steve

Did you get anywhere with this? I see exactly the same
I’m running HA 2023.11.3 HAOS 10.5

For me the graph only shows, 3.4 kW imported from the grid, but the flow diagram correctly shows 15.5 kW imported.

My statistics update every 5 minutes, so they’res an entry in the recorder every 5 minutes. It seems as though it’s taking the max individual value, rather a sum of all the values during the hour.


image

image

anyone get an answer about this, I got the same issue

Don’t think were any closer to a solution. This issue on github has been largely ignored.