Add a device