Trouble with totalizer - reset all the time....?

Hi, iam new in forum.

i have big trouble with some totalizer.

its an Rieman integral sensor

all the time, it resets and starts from 0.
I think it comes up, when i restart home assistant. what i do wrong?

THX