Loading custom_components/smartir/climate.py +2 −2 Original line number Diff line number Diff line Loading @@ -423,7 +423,7 @@ class SmartIRClimate(ClimateEntity, RestoreEntity): def _async_update_temp(self, state): """Update thermostat with latest state from temperature sensor.""" try: if state.state != STATE_UNKNOWN and state.statre != STATE_UNAVAILABLE: if state.state != STATE_UNKNOWN and state.state != STATE_UNAVAILABLE: self._current_temperature = float(state.state) except ValueError as ex: _LOGGER.error("Unable to update from temperature sensor: %s", ex) Loading Loading
custom_components/smartir/climate.py +2 −2 Original line number Diff line number Diff line Loading @@ -423,7 +423,7 @@ class SmartIRClimate(ClimateEntity, RestoreEntity): def _async_update_temp(self, state): """Update thermostat with latest state from temperature sensor.""" try: if state.state != STATE_UNKNOWN and state.statre != STATE_UNAVAILABLE: if state.state != STATE_UNKNOWN and state.state != STATE_UNAVAILABLE: self._current_temperature = float(state.state) except ValueError as ex: _LOGGER.error("Unable to update from temperature sensor: %s", ex) Loading