forked from home-assistant/core
Homee: fix state_class of rain sensors. (#138310)
This commit is contained in:
@@ -157,7 +157,7 @@ SENSOR_DESCRIPTIONS: dict[AttributeType, HomeeSensorEntityDescription] = {
|
|||||||
AttributeType.RAIN_FALL_TODAY: HomeeSensorEntityDescription(
|
AttributeType.RAIN_FALL_TODAY: HomeeSensorEntityDescription(
|
||||||
key="rainfall_day",
|
key="rainfall_day",
|
||||||
device_class=SensorDeviceClass.PRECIPITATION,
|
device_class=SensorDeviceClass.PRECIPITATION,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||||
),
|
),
|
||||||
AttributeType.RELATIVE_HUMIDITY: HomeeSensorEntityDescription(
|
AttributeType.RELATIVE_HUMIDITY: HomeeSensorEntityDescription(
|
||||||
key="humidity",
|
key="humidity",
|
||||||
|
Reference in New Issue
Block a user