Fix incorrect voltage device class usage in RuuviTag BLE (#84380)
parent
7b26a952bd
commit
4e2cebc6d6
|
@ -62,7 +62,6 @@ SENSOR_DESCRIPTIONS = {
|
|||
Units.ELECTRIC_POTENTIAL_MILLIVOLT,
|
||||
): SensorEntityDescription(
|
||||
key=f"{SSDSensorDeviceClass.VOLTAGE}_{Units.ELECTRIC_POTENTIAL_MILLIVOLT}",
|
||||
device_class=SensorDeviceClass.VOLTAGE,
|
||||
native_unit_of_measurement=UnitOfElectricPotential.MILLIVOLT,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue