def METHOD_NAME(vid: str) -> Optional[ListPortInfo]:
    """Returns first serial device with a given VID"""
    for d in list_ports.comports():
        if d.vid == vid:
            return d[0]
    return None