I'm getting erratic values for energy per panel. I created an integral sensor with left Riemann values per panel, and a corresponding utility meter sensor to track daily energy produced.
Some days it's spot on at about 2400-3000 Wh per panel. Other days I get these inflated values in the tens of thousands. (The total of 22.48 kWh in the lower right graph is correct.)
Could be due to the way the sum works. If the value is same non zero then the sum won’t update until there is a change. For a project I did once I went via a template sensor adding a small random inconsequential amount (+/-) such as to make the sum always update. Could be a bit of work for you but I expect you would get much better results. Likewise, and probably gives rise to the above, it may be the sensor does not go totally to zero (my AC always reports 70w no matter what) so you could check this and again template a sensor to go to zero when below an amount just above the ‘zero’.
Once the panels fire up in the morning, there is a continuous non-zero amount throughout the day (even during overcast). Then they always return to zero by nightfall according to sensor history. No lingering trace amounts. The sudden spikes always happen during the day when there is a steady flow of power from the panels. Working fine so far today.