How to reset energy template sensor to zero after botched first attempt?

Thanks a lot, I found the entries and actually set all of the ones I found back to zero, but the actual history/graph doesn’t change through that :-/

Example:

image

But when I then go back into the editing mode, there is simply no entry for the time in question that is not zero:

Maybe the history graphs are rendered from a different/cached datasouce?