Why is Ecowitt hourly rain not state_class: total_increasing

Lines 64-94 of sensor.py in core/homeassistant/components/ecowitt set state_class: total_increasing for all the rain accumulation entities (correctly) except for the hourly rain (& last 24 hours - I don’t use this entity).

This seems to be deliberate as each each hourly_rain state_class is explicitly none. Could someone explain the reason for this?

A while ago, I customised all the accumulation entities to set state_class: total_increasing - all good. I'd noticed that a fix was implemented so I removed all the customisations. This generated a state_class error for hourly_rain - the other entities remain total_increasing.

Seems odd that the state_class for event, daily, weekly, monthly, yearly are total_increasing and hourly is none

_RAIN_COUNT_SENSORS_STATE_CLASS_MAPPING: Final = { 
    "eventrainin": SensorStateClass.TOTAL_INCREASING,
    "hourlyrainin": None,
    "totalrainin": SensorStateClass.TOTAL_INCREASING,
    "dailyrainin": SensorStateClass.TOTAL_INCREASING,
etc

Total increasing is meant for sensors that increase in value and then reset to zero on a standard frequency . E.g daily total.

Hourly is likely not doing that.

Doh! Without actually looking at a graph, I was assuming that was exactly what hourly was doing - accrue for the hour then resets to zero.

However, actually looking at the data, I see hourly is actually a sliding window, so not total_increasing.

Thank you for taking the time to respond. :expressionless_face: