One wrong value every night

Alright - this is my current dashboard:

Grid Import Sensor History looks good:

Grid Export:

Solar Production:

Watermeter:

All sensors are MQTT sensors configured as Total Increasing

Only Grid Import and Export are coming from the powermeter over modbus but also configured as Total Increasing.

modbus:

  • name: hub1
    type: serial
    baudrate: 9600
    bytesize: 8
    method: rtu
    parity: E
    port: /dev/ttyUSB0
    stopbits: 1
    sensors:
    • name: sdm630_total_power_import
      slave: 11
      address: 72
      input_type: input
      count: 2
      precision: 2
      data_type: float32
      unit_of_measurement: kWh
      device_class: energy
      state_class: total_increasing
      scan_interval: 1800
    • name: sdm630_total_power_export
      slave: 11
      address: 74
      input_type: input
      count: 2
      precision: 2
      data_type: float32
      unit_of_measurement: kWh
      device_class: energy
      state_class: total_increasing
      scan_interval: 1800

So I double checked again - the history graphs of all sensors are correct - only in the dashbboard it shows wrong - I think there the statistic values are used - they are wrong - why I do not know:

So here for examle - Grid Import - all of the sudden at 4:10 am - the import was minus 64,34 - so a negative value…

Also the solar production (the PV is offline during night) the statistic shows at the same time a negative production: