Many home users nowadays use various smart devices to improve the efficiency and convenience of their home environments. Trigger-action platforms such as “If-This-Then-That” (IFTTT) enable end users to connect different smart devices and services using simple apps to control these devices and automate the tasks (e.g., if the camera detects...