mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 15:45:08 +02:00
Use SensorDeviceClass.SPEED in rfxtrx (#79261)
Use SensorDeviceClass.VOLUME in rfxtrx
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user