This Trigger fires every time your SmartThings device is switched off.
This action will update a boolean variable in Apilio to false.