From dc7ab40acd77f6b56313e334fcba1adc3cbc37cd Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 10 Feb 2022 20:54:09 +0100 Subject: [PATCH] Add humidity sensor to Plugwise (#66280) --- homeassistant/components/plugwise/sensor.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/homeassistant/components/plugwise/sensor.py b/homeassistant/components/plugwise/sensor.py index 1d6dfbd3e90..4ee75e21a45 100644 --- a/homeassistant/components/plugwise/sensor.py +++ b/homeassistant/components/plugwise/sensor.py @@ -249,6 +249,13 @@ SENSORS: tuple[SensorEntityDescription, ...] = ( device_class=SensorDeviceClass.PRESSURE, state_class=SensorStateClass.MEASUREMENT, ), + SensorEntityDescription( + key="humidity", + name="Relative Humidity", + native_unit_of_measurement=PERCENTAGE, + device_class=SensorDeviceClass.HUMIDITY, + state_class=SensorStateClass.MEASUREMENT, + ), )