def write_immediate(self, addr: Union[(str, List[str])], value: Union[(object, List[object])], timeout: float=None):
    '\n        Instead of waiting for a group write, writes the given value immediately. Note, this is not very efficient\n        and should be used sparingly. '
    if isinstance(addr, list):
        if isinstance(value, list):
            items = {addr: self._value_to_str(val) for (addr, val) in zip(addr, value)}
        else:
            value = self._value_to_str(value)
            items = {addr: value for addr in addr}
    else:
        items = {addr: self._value_to_str(value)}
    try:
        timeout = (self.timeout if (timeout is None) else timeout)
        with lock:
            self._req.get(self._url, params=items, timeout=timeout)
            for (addr, value) in items.items():
                self._io[addr] = value
    except (requests.exceptions.ConnectionError, requests.exceptions.ConnectTimeout) as ex:
        raise WebIOConnectionError(ex)
Instead of waiting for a group write, writes the given value immediately. Note, this is not very efficient
and should be used sparingly.
def write_immediate(self, addr: Union[(str, List[str])], value: Union[(object, List[object])], timeout: float=None):
    '\n        Instead of waiting for a group write, writes the given value immediately. Note, this is not very efficient\n        and should be used sparingly. '
    if isinstance(addr, list):
        if isinstance(value, list):
            items = {addr: self._value_to_str(val) for (addr, val) in zip(addr, value)}
        else:
            value = self._value_to_str(value)
            items = {addr: value for addr in addr}
    else:
        items = {addr: self._value_to_str(value)}
    try:
        timeout = (self.timeout if (timeout is None) else timeout)
        with lock:
            self._req.get(self._url, params=items, timeout=timeout)
            for (addr, value) in items.items():
                self._io[addr] = value
    except (requests.exceptions.ConnectionError, requests.exceptions.ConnectTimeout) as ex:
        raise WebIOConnectionError(ex)