'Send a command to MPC-HC via its window message ID.'

def _send_command(self, command_id):

    try:
        params = {'wm_command': command_id}
        requests.get('{}/command.html'.format(self._url), params=params, timeout=3)
    except requests.exceptions.RequestException:
        _LOGGER.error('Could    not    send    command    %d    to    MPC-HC    at:    %s', command_id, self._url)
