custom_components/broadlinkcover/climate.py
def _async_update_humidity(self, state):
        """Update thermostat with latest state from humidity sensor."""
        try:
            if state.state != STATE_UNKNOWN:
                self._current_humidity = float(state.state)
        except ValueError as ex:
            _LOGGER.error("Unable to update from humidity sensor: %s", ex)
Update thermostat with latest state from humidity sensor.
Update thermostat with latest state from humidity sensor.
Update thermostat with latest state from humidity sensor .
def _async_update_humidity(self, state):
        try:
            if state.state != STATE_UNKNOWN:
                self._current_humidity = float(state.state)
        except ValueError as ex:
            _LOGGER.error("Unable to update from humidity sensor: %s", ex)
def _async_update_humidity ( self , state ) : try : if state . state != STATE_UNKNOWN : self . _current_humidity = float ( state . state ) except ValueError as ex : _LOGGER . error ( "Unable to update from humidity sensor: %s" , ex )
Update thermostat with latest state from humidity sensor.
Update thermostat with latest state from humidity sensor .
"""Update thermostat with latest state from humidity sensor."""
self
state