mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix incorrect voltage device class usage in RuuviTag BLE (#84380)
This commit is contained in:
parent
7b26a952bd
commit
4e2cebc6d6
@ -62,7 +62,6 @@ SENSOR_DESCRIPTIONS = {
|
|||||||
Units.ELECTRIC_POTENTIAL_MILLIVOLT,
|
Units.ELECTRIC_POTENTIAL_MILLIVOLT,
|
||||||
): SensorEntityDescription(
|
): SensorEntityDescription(
|
||||||
key=f"{SSDSensorDeviceClass.VOLTAGE}_{Units.ELECTRIC_POTENTIAL_MILLIVOLT}",
|
key=f"{SSDSensorDeviceClass.VOLTAGE}_{Units.ELECTRIC_POTENTIAL_MILLIVOLT}",
|
||||||
device_class=SensorDeviceClass.VOLTAGE,
|
|
||||||
native_unit_of_measurement=UnitOfElectricPotential.MILLIVOLT,
|
native_unit_of_measurement=UnitOfElectricPotential.MILLIVOLT,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user