Problem with daily grid consumption

Good morning,

Iam trying to monitor my daily grid consumption with a utility meter.

This is my configuration for the utility meter:

I got two sensors for the grid consumption:

  • sensor.sunny_home_manager_2_metering_power_absorbed (via HACS Integration)
  • sensor.sma_energy_meter_pconsume (via MQTT)

Right now my sensors show this:

And the helper calculates this:

Iam pretty sure that I didnt use 30 kW this morning…

I think the helper adds every value the sensors shows and not the exact consumption.

Is there a way to change this?