From 97a124b28a6ba4be9acc4a88ac4ceaee26f1b709 Mon Sep 17 00:00:00 2001 From: Markus Adrario Date: Fri, 21 Feb 2025 14:10:45 +0100 Subject: [PATCH] Homee: fix state_class of rain sensors. (#138310) --- homeassistant/components/homee/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/homee/sensor.py b/homeassistant/components/homee/sensor.py index 237b80915aa..86733aae778 100644 --- a/homeassistant/components/homee/sensor.py +++ b/homeassistant/components/homee/sensor.py @@ -157,7 +157,7 @@ SENSOR_DESCRIPTIONS: dict[AttributeType, HomeeSensorEntityDescription] = { AttributeType.RAIN_FALL_TODAY: HomeeSensorEntityDescription( key="rainfall_day", device_class=SensorDeviceClass.PRECIPITATION, - state_class=SensorStateClass.MEASUREMENT, + state_class=SensorStateClass.TOTAL_INCREASING, ), AttributeType.RELATIVE_HUMIDITY: HomeeSensorEntityDescription( key="humidity",