Enery Usage Graph doesn't show usage if you produced more then used - see image

I think the purple bar (below zero) should show what part of that bar was used directly with a different color.
You didn’t really use anything in that case, but it would still be nice to be able to see what you actually used and didn’t use.
Solar production graph allready shows what is produced, so no need to do it again in the usage graph.

In the image you see a short spike of sunlight, in that hour I cannot see how much i used

You mean like this?

You maybe missing a sensor.

I think you are right, but I don’t know what i am doing wrong. I have a feeling I have not set up energy return to grid correctly. How do you do that with the sensors for energy consumed en energy produced?

You need three sensors.

  1. Grid Consumption (ignore that I have this split in two),
  2. Return to grid and
  3. Solar Production.

Yeah I think I have return to grid setup incorrecty, it might be something like production minus consumption. Do you have any advice on how to do that?

You can use a template sensor to do that: