Use SensorDeviceClass.SPEED in rfxtrx (#79261)

Use SensorDeviceClass.VOLUME in rfxtrx
This commit is contained in:
epenet 2022-09-29 09:20:13 +02:00 committed by GitHub
parent 0fa0ab855b
commit f9d36fe493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,12 +206,14 @@ SENSOR_TYPES = (
name="Wind average speed",
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=SPEED_METERS_PER_SECOND,
device_class=SensorDeviceClass.SPEED,
),
RfxtrxSensorEntityDescription(
key="Wind gust",
name="Wind gust",
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=SPEED_METERS_PER_SECOND,
device_class=SensorDeviceClass.SPEED,
),
RfxtrxSensorEntityDescription(
key="Rain total",