Stats on energy tab reset after updates


New user here.

I have a question regarding the stats I have in my “energy” page.
I have added 2 shelly sensors here, 1 to monitor my grid power and 1 for my solar.
This works fine, stats are correct when I compare this with the app from shelly.
So far so good.

However, yesterday I had an update for home assistant that needed to be done.
So I first made a full backup and after the performed the update.
All of this went fine.
However when I reopend the energy page, no data was available.
Even now, 20 hours later, I can see the new data, but all the old data from before the update is not visible.

Did I do something wrong?