Fix incorrect state class for Ambient PWS rain rate sensor (#62946)

This commit is contained in:
Aaron Bach 2021-12-28 09:54:18 -07:00 committed by GitHub
parent 90a9d64f67
commit 3a3a6ed464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,7 +171,7 @@ SENSOR_DESCRIPTIONS = (
name="Hourly Rain Rate",
icon="mdi:water",
native_unit_of_measurement=PRECIPITATION_INCHES_PER_HOUR,
state_class=SensorStateClass.TOTAL_INCREASING,
state_class=SensorStateClass.MEASUREMENT,
),
SensorEntityDescription(
key=TYPE_HUMIDITY10,