Repair energy cost calculations

I made a silly mistake by changing my Solar Produced, Grid Imported and Grid Exported entities unit of measurement from Wh to Kwh. I changed it back to Wh but my costs aren’t calculated correctly. Is there any way I could fix this?

I figured it out myself and thought I’d post it in the rare case anyone else gets stuck.

Under Developer Tools > Statistics I needed to find my Grid Imported and Grid Exported cost entities (search for ‘cost’ and ‘compensation’). Next to those entities is a ramp looking icon (Adjust sum).

You will need to search the time the statistic went wrong within 5 min intervals or use the handy ‘Outliers’ button on the bottom left which suggests which statistics dont seem right. I had two of them before I took the screenshot that were $600 each.