From fb6d19d08f419f1842c57b011f4d8d76c9cfe317 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Wed, 30 Aug 2023 15:53:30 +0200 Subject: [PATCH] Add pressure device class to Telldus live (#99337) --- homeassistant/components/tellduslive/sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/tellduslive/sensor.py b/homeassistant/components/tellduslive/sensor.py index 2c3ae3588ab..d52fded3932 100644 --- a/homeassistant/components/tellduslive/sensor.py +++ b/homeassistant/components/tellduslive/sensor.py @@ -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, ), }