Add pressure device class to Telldus live (#99337)

This commit is contained in:
Joost Lekkerkerker 2023-08-30 15:53:30 +02:00 committed by GitHub
parent 5f05d0d7e9
commit fb6d19d08f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ SENSOR_TYPES: dict[str, SensorEntityDescription] = {
key=SENSOR_TYPE_BAROMETRIC_PRESSURE,
name="Barometric Pressure",
native_unit_of_measurement=UnitOfPressure.KPA,
device_class=SensorDeviceClass.PRESSURE,
state_class=SensorStateClass.MEASUREMENT,
),
}