diff --git a/custom_components/echonetlite/climate.py b/custom_components/echonetlite/climate.py index a2fa4fb..abfdd42 100644 --- a/custom_components/echonetlite/climate.py +++ b/custom_components/echonetlite/climate.py @@ -180,10 +180,8 @@ def device_info(self): def _set_attrs(self): """current temperature.""" _val = self._connector._update_data.get(ENL_HVAC_ROOM_TEMP) - if _val != None and _val != 126: - self._attr_current_temperature = _val - else: - _val = self._connector._update_data.get(ENL_HVAC_SET_TEMP) + if _val == 126: + _val = None self._attr_current_temperature = _val """temperature we try to reach."""