def _get_camera_from_id(camera_id, cameras):
    """Get Camera object from ID"""
    camera = list(filter(lambda cam: camera_id == cam.id, cameras))
    if camera:
        return camera[0]
    raise ValueError('No camera found with ID %s' % camera_id)
