From c8d4febe13a5c800c20f2aaee6c145b503580c35 Mon Sep 17 00:00:00 2001 From: Benjamin <46243805+bbr111@users.noreply.github.com> Date: Sat, 19 Nov 2022 13:09:57 +0100 Subject: [PATCH] Add Homematic sensor descriptions (#82156) Update sensor.py Add Sensor Descriptions. --- homeassistant/components/homematic/sensor.py | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/homeassistant/components/homematic/sensor.py b/homeassistant/components/homematic/sensor.py index 806d56b2c1d..4c18afd0458 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -253,6 +253,36 @@ SENSOR_DESCRIPTIONS: dict[str, SensorEntityDescription] = { device_class=SensorDeviceClass.PM10, state_class=SensorStateClass.MEASUREMENT, ), + "STATE": SensorEntityDescription( + key="STATE", + ), + "SMOKE_DETECTOR_ALARM_STATUS": SensorEntityDescription( + key="SMOKE_DETECTOR_ALARM_STATUS", + ), + "WIND_DIR": SensorEntityDescription( + key="WIND_DIR", + ), + "WIND_DIR_RANGE": SensorEntityDescription( + key="WIND_DIR_RANGE", + ), + "CONCENTRATION_STATUS": SensorEntityDescription( + key="CONCENTRATION_STATUS", + ), + "PASSAGE_COUNTER_VALUE": SensorEntityDescription( + key="PASSAGE_COUNTER_VALUE", + ), + "LEVEL": SensorEntityDescription( + key="LEVEL", + ), + "LEVEL_2": SensorEntityDescription( + key="LEVEL_2", + ), + "DOOR_STATE": SensorEntityDescription( + key="DOOR_STATE", + ), + "FILLING_LEVEL": SensorEntityDescription( + key="FILLING_LEVEL", + ), } DEFAULT_SENSOR_DESCRIPTION = SensorEntityDescription(