When SmartThings detects a device, update a variable in Apilio to true