Fix energy dashboard cost

I had an issue when one value of my sensors went haywire earlier, it went from 3kwh to about 300,000 and while I was able to edit the values via the dev tools I am still stuck with some insane cost value that I need to fix:
image

Where can I do and edit this?
I got MariaDB for the db and got the addon that I can go and directly edit some values if needed but I am hoping it can be done from the UI?

There is a separate _cost statistic you should be able to find from developer-tools/statistics that will allow you to adjust sum on the total cost.

Can’t find it
Only see these 3 there:

Oh right I think for export it’s _compensation

Got it fixed, a lot of manual editing of statistics table, this should not be this hard, should have been a feature by now.
Going to put in a feature request on github