Battery not correctly being represented

So I added battery and what i'm seeing is that it is being mis represented
Here it is charging from solar to battery as you can see there is still usage but also there is still solar production so the battery being charged doesn't mean there is no solar.

the pink part is battery charging however .. there is still usage and solar production so the graph sows only minor net use but that's not correct there's been about 6kwh of net use in that time but it doesn't show on the graph at all.

same here very confusing graph you can see that there is about 14kwh of solar production but from the ggraph earlier you can see there is a lot more because 15.8kwh was used to charge the systems battery ..

This mis configuration or mis representation is since i've added the battery system to electrical but in my opinion i've added it correctly..


Nevermind it was not the battery that was using the wrong sensors but the solar panels where the wrong sensors