mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Use SensorDeviceClass.CONDUCTIVITY for xiaomi_ble conductivity sensors (#127880)
This commit is contained in:
parent
b32c4a8fbb
commit
fbd9502474
@ -48,7 +48,7 @@ SENSOR_DESCRIPTIONS = {
|
||||
),
|
||||
(DeviceClass.CONDUCTIVITY, Units.CONDUCTIVITY): SensorEntityDescription(
|
||||
key=str(Units.CONDUCTIVITY),
|
||||
device_class=None,
|
||||
device_class=SensorDeviceClass.CONDUCTIVITY,
|
||||
native_unit_of_measurement=UnitOfConductivity.MICROSIEMENS,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user