Unverified Commit 489c0d37 authored by Konstantin's avatar Konstantin Committed by GitHub
Browse files

Fixed typo (#764)

parent 5d4b8160
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)