def METHOD_NAME(self, devid=None):
    """
    Returns the device info that matches the devid.
    Requires get_info() to be called first.
    :param devid: The ccw device id, e.g. 0.0.5000
    :return: The device matching the devid
    """
    if not devid:
        return None
    match = [x for x in self.devices if x[self.HEADER["Device"]] == devid]
    if match:
        return match[0]
    else:
        return None