How to fix wrong starting energy data

I wonder if anyone knows hot to fix this situation…
The first day of logging gas consumption (based on new sensor created that day) show a big negative value which affects all month statistics…
Is there a way to manually (and in a safe way) modify the database to fix this issue?
Thanks in advance!

Screenshot_20230309_232231_Home Assistant|308x500

Post screenshots here.

Your link gives security alert. :wink:

If the value of a sensor is incorrect in the energy dashboard, I go to “development tools”, than “statistics”, find the “faulty” sensor in the list, click on the right on the blue sign than update the value you think is wrong… save… You are done… the statics are normally updated… I did that a couple of times without any issues…

1 Like

Hi Browetd
Thanks for the reply
Can you pls post an image or where to fix the wrong value?
It is the one shown here in my case… the beginning is wrong (then it goes to 0 - don’t know why - and it is ok)

I found it! And fixed it!
Many thanks for the hint!