From 9b30fecb0c76c47a11a0d7218ee67216f8b65d98 Mon Sep 17 00:00:00 2001 From: Christian Lackas Date: Wed, 11 Feb 2026 23:42:37 +0100 Subject: [PATCH] Fix absolute humidity sensor on HmIP-WGT glass thermostats (#162455) --- homeassistant/components/homematicip_cloud/sensor.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/homeassistant/components/homematicip_cloud/sensor.py b/homeassistant/components/homematicip_cloud/sensor.py index 1ab2e8ef1f0..d1cadfcde2a 100644 --- a/homeassistant/components/homematicip_cloud/sensor.py +++ b/homeassistant/components/homematicip_cloud/sensor.py @@ -632,16 +632,8 @@ class HomematicipAbsoluteHumiditySensor(HomematicipGenericEntity, SensorEntity): @property def native_value(self) -> float | None: """Return the state.""" - if self.functional_channel is None: - return None - - value = self.functional_channel.vaporAmount - - # Handle case where value might be None - if ( - self.functional_channel.vaporAmount is None - or self.functional_channel.vaporAmount == "" - ): + value = self._device.vaporAmount + if value is None or value == "": return None return round(value, 3)