'Remove the configuration request.'

def request_done(self, request_id):

    if (not self._validate_request_id(request_id)):
        return
    entity_id = self._requests.pop(request_id)[0]
    self.hass.states.set(entity_id, STATE_CONFIGURED)
    def deferred_remove(event):
        'Remove    the    request    state.'
        self.hass.states.remove(entity_id)
    self.hass.bus.listen_once(EVENT_TIME_CHANGED, deferred_remove)
