docs: def command(self, cmd, retries=None, timeout_cmd=None):
          """
          Args:
              cmd - command to execute via http
              timeout_cmd - timeout, default 3sec
              retries - maximum number of retries each connection should attempt
          """
          retries = retries or self._retries_default
          timeout = timeout_cmd or self._timeout_default
  
          session = self.get_session(retries)
          url = self.__base_url(cmd)
          for loop in range(1, 2 + retries):
              _LOGGER.debug("Running query attempt %s", loop)
              try:
                  resp = session.get(
                      url,
                      auth=self._token,
                      stream=True,
                      timeout=timeout,
                  )
                  resp.raise_for_status()
                  break
              except requests.RequestException as error:
                  if loop <= retries:
                      _LOGGER.warning("Trying again due to error %s", error)
                      continue
                  else:
                      _LOGGER.error("Query failed due to error %s", error)
                      raise CommError('Could not communicate with camera')
  
          _LOGGER.debug("Query worked. Exit code: <%s>", resp.status_code)
          return resp