Reset integral helper to zero

I made some unit errors while setting up a bunch of integral helpers for power sensors, and now they have giant chunks of erroneous data at the beginning (IE, Wh accidentally accumulating as kWh). How can I reset all the accumulated data to date to Zero? Every other integrating or counting device I’ve ever used has a reset button.

Also, why in tarnation does the energy dashboard ask for energy inputs? Isn’t the whole point of an energy dashboard to take your power sensors and give you an energy dashboard from them? If I already had energy sensors I would’ve already made a dashboard for them.

Did you create the integral helpers in YAML or using the UI?

UI: Delete and recreate with a new name.

YAML: Change the unique_id and name and restart. Delete the old sensor from Settings → Devices & Services → Entities.

No it isn’t.

The energy dashboard is simply a way of displaying your energy sensors (and now power as well), so you don’t have to.

I used the UI. So re-creating all the dependencies from scratch is the only way?

The energy dashboard is simply a way of displaying your energy sensors

If I may be pedantic for a minute here… there is no such thing as an energy sensor. There are only power sensors with an integrator. Why not accept inputs from real sensors rather than artificial ones? It amounts to the same thing, but with a much more intuitive user experience that doesn’t rely on the user even knowing what an integral is. It just seems like a really weird choice to me.

There are many devices that provide energy sensors without the need for an integrator in Home Assistant.

1 Like

Fine.

So the only way to reset an integrator is to delete it and rebuild any dependencies on that integrator? There’s no way to just zero out the relevant DB entries?