From 0f56f41c4f675e201058f9ccf9fb7d3c7a113edb Mon Sep 17 00:00:00 2001 From: Rahmadi Trimananda Date: Fri, 9 Aug 2019 12:23:14 -0700 Subject: [PATCH] Update simple-sync-trigger.groovy --- official/simple-sync-trigger.groovy | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/official/simple-sync-trigger.groovy b/official/simple-sync-trigger.groovy index 3fd4d08..b6709e1 100755 --- a/official/simple-sync-trigger.groovy +++ b/official/simple-sync-trigger.groovy @@ -42,6 +42,19 @@ def agentSelection() } } +// input "motion", "capability.motionSensor", title: "Motion Detected", required: false, multiple: true +// input "motionInactive", "capability.motionSensor", title: "Motion Stops", required: false, multiple: true +// input "contact", "capability.contactSensor", title: "Contact Opens", required: false, multiple: true +// input "contactClosed", "capability.contactSensor", title: "Contact Closes", required: false, multiple: true +// input "acceleration", "capability.accelerationSensor", title: "Acceleration Detected", required: false, multiple: true +// input "mySwitch", "capability.switch", title: "Switch Turned On", required: false, multiple: true +// input "mySwitchOff", "capability.switch", title: "Switch Turned Off", required: false, multiple: true +// input "arrivalPresence", "capability.presenceSensor", title: "Arrival Of", required: false, multiple: true +// input "departurePresence", "capability.presenceSensor", title: "Departure Of", required: false, multiple: true +// input "button1", "capability.button", title: "Button Press", required:false, multiple:true //remove from production +// input "triggerModes", "mode", title: "System Changes Mode", required: false, multiple: true +// input "timeOfDay", "time", title: "At a Scheduled Time", required: false + def control() { def activities = agent.latestValue('activities') @@ -293,4 +306,4 @@ private hhmm(time, fmt = "h:mm a") private timeIntervalLabel() { (starting && ending) ? hhmm(starting) + "-" + hhmm(ending, "h:mm a z") : "" -} \ No newline at end of file +} -- 2.34.1