Strange energy display

Lately, I get strange graphs in the energy dashboard, while the sensor of the solar panels looks ok, any ideas why this is and how to correct it ?

This is the output from the solar inverter, which seems correct to me
image

And here are the graphs in the energy dashboard, I have no idea where the big reading at 6 AM comes from because at that time there is no solar production yet.

Look at a statistics graph of the solar energy sensor (not solar power sensor as you have pasted).

My guess is you’ll see a glitch where it jumps to 0 or something, that’s what usually causes those spikes is erroneous values.

There is indeed a glitch in the energy graph, but I have no idea where it comes from, as the power sensor where it is derived from does not show anything abnormal.

image

image

And here is the detail graph at the time of the glitch, because the solar panels are not active yet then.
image

image

Any ideas where this glitch comes from and how to avoid it ?
I have this now every few days for about a month.