From 4e2cebc6d65278b749b141f3db3113c0d2ecd3bb Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 22 Dec 2022 10:35:50 +0100 Subject: [PATCH] Fix incorrect voltage device class usage in RuuviTag BLE (#84380) --- homeassistant/components/ruuvitag_ble/sensor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/ruuvitag_ble/sensor.py b/homeassistant/components/ruuvitag_ble/sensor.py index 87e647109a4..bd21e479abf 100644 --- a/homeassistant/components/ruuvitag_ble/sensor.py +++ b/homeassistant/components/ruuvitag_ble/sensor.py @@ -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, ),