Help needed! Energy database costs calculation wrong, after investigating everything

Damn, well mine still works.
So converting from a static price/price per m³ or kWh to a total entity does fix it.
I did also import the old data and till now still great.

You should try that to, you don’t even have to correct the data, only the data from the day you did import the data, thats it.
be sure you import till the day before it, saves you lot of time.

i know its $%$$#%… but try it out.

Hi just for all of you who are having issues with the wrong cost calculation, I found that in developpers tools you have an entity called: sensor_cost. I have entered there and found the value that was messing my calculation. Changed it and now everything is fine.

image

image