Negative untracked consumption and overmeasured tracked consumption

Good day everyone, cannot find the reason of below negative untracked consumption. I know it is connected to Boiler energy counter, but sensor for boiler shows all correct, however counter is wrong
May anyone guide me what do i have to check?

Counter i have made myself, probably i did wrong settings there?

Try left riemann instead of trapezoidal.

Trapezoid doesn’t work for entities that report “0” for long periods of time.

1 Like

Thanks for advise, will try and revert

First day - no errors, thanks for advise, it really works!! I tried also right, but only left goes well