def _query_state(self):
        if not self._command_state:
            _LOGGER.error('No state command specified')
            return
        return self._query_state_value(self._command_state)
Query for the state.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/rollershutter/command_line.py/CommandRollershutter._query_state