Energy dashboard, grid/export meters/sensors that didn't start with 0

Hi,

I do have two sensors for that contain the total amount of energy that I bought from the grid and that I exported via my solar system (infrared thingy that reads my electricity meter). Since we’ve been living in the house for a few years, the meter for grid consumption is at around 27000 kWh, export ist at around 11000 kWh.

I added those to the HA energy dashboard configuration yesterday, and now my month and probably the whole year is a mess.

Is there an easy way to tell HA that it shouldn’t “assume” that I consumed 27k kWh last month, but that it should rather start with 27k “as 0” somehow? Do I have to create another sensor or something like that?

You can edit the long term statistics in Developer Tools → Statistics. Click the ramp icon next to right of the entity id, navigate to the time in question and set the value to 0.

Sorry for the stupid question, but will that only reset the statistic, if I understand correctly? I still would like to use that sensor to see the actual value of my meters.

Correct. The state remains unchanged.

1 Like

Thank you!

I set both statistics value to 0 a few hours ago. I also removed those two meters from the energy dashboard configuration afterwards. So far I can still see those huge numbers in the dashboard. Will they be removed somehow sometime in the future?

I guess once the system has cleaned them up (if it does at all), I can then re-add the two meters to the energy dashboard generation…

It does not.

If you go back to the Dev Tools Statistics page to you see any fix issue buttons?

If so click them.

I think I fixed it. I was also using the wrong solar production entity. Now I removed everything, also fixed all of my Statistics issues, and now I think it’s looking good. Thanks for your help!