mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 06:17:07 +00:00
Homee: fix state_class of rain sensors. (#138310)
This commit is contained in:
parent
800749728b
commit
97a124b28a
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user