Utility meter works not as expected

I use the integration Mobile Alerts. I have a unit to measure the amount of rainfall.
The unit is adding the amount of rainfall when ever it rains. Actually it shows 19.6 mm rainfall.
I added utility meters with the UI to get the daily, weekly, monthly and yearly rainfall.
For the daily rainfall I have expected 0mm for the last two days because it did not rain.
But as you can see, at midnight the meter resets to 0 but than it is starting to add 19.6mm during the day. This is not correct.
image

So, what is wrong with my utility meter? Do I have to us a different helper?

Thanks Michael

Please show the history graph for the sensor you are feeding to the utility meter.

This is the documentaion of the api for the sensor

No, not the more info pop up. That only shows 5 minute statistics data. Show the graph from the history panel. That shows actual state data.

Also can you show your utility meter configuration?

The utility meter should be idle not collecting when the source sensor is a steady state.

This is the history panel

This is the configuration:

 {
    "created_at": "2024-10-11T15:45:04.804051+00:00",
    "data": {},
    "discovery_keys": {},
    "disabled_by": null,
    "domain": "utility_meter",
    "entry_id": "01J9Y42GS3D6AFRP7XDT8229VK",
    "minor_version": 1,
    "modified_at": "2024-10-12T09:08:39.630815+00:00",
    "options": {
      "name": "Regenmenge tägl.",
      "source": "sensor.regensensor_neu",
      "cycle": "daily",
      "offset": 0.0,
      "tariffs": [],
      "net_consumption": false,
      "delta_values": true,
      "periodically_resetting": false,
      "always_available": true
    },
    "pref_disable_new_entities": false,
    "pref_disable_polling": false,
    "source": "user",
    "title": "Regenmenge tägl.",
    "unique_id": null,
    "version": 2

You need to set delta values to false. Your source sensor is an increasing total, not the difference from the last reading.

I tried both with the same result.
For testing I made two different utility metter . I will show you the result tomorrow
Thank you for helping

Hi,
here are the graphs.
This one is with activated delta. It adds always 12.9mm which is the last amount of rain since 3 days

This one is with deactivated delta.


This looks good. But I will check it once again tomorrow