'Query for the state.'

def _query_state(self):

    if (not self._command_state):
        _LOGGER.error('No    state    command    specified')
        return
    return self._query_state_value(self._command_state)
