add listDevices sample task