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)