Fix incorrect voltage device class usage in RuuviTag BLE (#84380)

pull/84434/head
Franck Nijhof 2022-12-22 10:35:50 +01:00 committed by GitHub
parent 7b26a952bd
commit 4e2cebc6d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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,
),