mirror of https://github.com/home-assistant/core
Add pressure device class to Telldus live (#99337)
This commit is contained in:
parent
5f05d0d7e9
commit
fb6d19d08f
|
@ -118,6 +118,7 @@ SENSOR_TYPES: dict[str, SensorEntityDescription] = {
|
||||||
key=SENSOR_TYPE_BAROMETRIC_PRESSURE,
|
key=SENSOR_TYPE_BAROMETRIC_PRESSURE,
|
||||||
name="Barometric Pressure",
|
name="Barometric Pressure",
|
||||||
native_unit_of_measurement=UnitOfPressure.KPA,
|
native_unit_of_measurement=UnitOfPressure.KPA,
|
||||||
|
device_class=SensorDeviceClass.PRESSURE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue