I have some statistics (yearly) that seem to start at 220 for some reason ? Likely restore from December?

The issue.
I have created using the helper a while back three utility meters -

Daily Garage Corner
Weekly Garage Corner
Monthly Garage Corner
Yearly Garage Corner.

The daily and weekly are running fine, and being reset.
The monthly seems to start at 59.81Kwh on 4th Jan strangly
The yearly seems to start at 4th Jan and is 221Kwh strangely

I have to restore my system from a December backup - probably around the 4th Jan. And this may be where the issue is - I think the reset of the yearly and monthly utility meter is broken with this restore.

There are no outliers, and no ‘issues’ to fix issues.

I guess the monthly will be fixed in Feb, but I don’t really want to wait until Jan 2026 to fix the yearly one… At this stage, and for the rest of this month, the monthly should match the yearly.

Any ideas what I can do, and have I stumbled onto a bug/issue with the data restore ?

This is the stats for the garage corner energy sensor. I suspect the issue stems from this somehow. It starts very high, and that is the restore date from when the system was restored.

I have decided to give up on this and rename the sensor and re-create the energy for it. Iv only lost 2 weeks ad a bit I guess.

I think the HA dev’s should install some sort of editing thing on the database for such as this situation.