Update 2024.2.X Modbus Config total_increasing

Hello,

Since the update 2024.2.X, the Modbus sensors that have the “state_class” “total_increasing” no longer work. here’s an example:

    - name: pv_today_low
      address: 53
      input_type: input
      state_class: total_increasing
      device_class: energy
      unit_of_measurement: kWh
      data_type: uint32
      #structure: ">1H"
      slave_count: 2
      slave: 1
      precision: 2
      scale: 0.1
      scan_interval: 5

Can someone help me with that?

Thank you very much.

Unfortunately I can’t find a solution. I read that a last_reset is needed. But how would that be defined?

Doesn’t anyone have an idea?