def METHOD_NAME(device_name: str) -> List[str]:
    """Returns all serial devices with a given name"""
    filtered_devices = filter(
        lambda device: device_name in device[1], list_ports.comports()
    )
    device_ports = [device[0] for device in filtered_devices]
    return device_ports