From 18c26148023050f87b82a1644e2f59f2e076145e Mon Sep 17 00:00:00 2001 From: shbatm Date: Fri, 3 Jun 2022 11:53:23 -0500 Subject: [PATCH] Check ISY994 climate for unknown humidity value on Z-Wave Thermostat (#72990) Check ISY994 climate for unknown humidity on Z-Wave Thermostat Update to #72670 to compare the property value and not the parent object. Should actually fix #72628 --- homeassistant/components/isy994/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/isy994/climate.py b/homeassistant/components/isy994/climate.py index d68395f14da..9f4c52258a7 100644 --- a/homeassistant/components/isy994/climate.py +++ b/homeassistant/components/isy994/climate.py @@ -117,7 +117,7 @@ class ISYThermostatEntity(ISYNodeEntity, ClimateEntity): """Return the current humidity.""" if not (humidity := self._node.aux_properties.get(PROP_HUMIDITY)): return None - if humidity == ISY_VALUE_UNKNOWN: + if humidity.value == ISY_VALUE_UNKNOWN: return None return int(humidity.value)