Grid total vs Riemann sum integral (Energy)

DSMR Slimme Meter

Platform Integration ( Riemann sum integral )

Home Assistant Energy

Can anyone tell me why my Riemann sum integral tells my I’ve used 17,96 kWh today and mij DSMR grid total of the day is 11.24 kWh?

Calibration needed?