Update simple-sync-trigger.groovy
authorRahmadi Trimananda <rahmadi.trimananda@uci.edu>
Fri, 9 Aug 2019 19:23:14 +0000 (12:23 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 9 Aug 2019 19:23:14 +0000 (12:23 -0700)
official/simple-sync-trigger.groovy

index 3fd4d08..b6709e1 100755 (executable)
@@ -42,6 +42,19 @@ def agentSelection()
        }\r
 }\r
 \r
+// input "motion", "capability.motionSensor", title: "Motion Detected", required: false, multiple: true\r
+// input "motionInactive", "capability.motionSensor", title: "Motion Stops", required: false, multiple: true\r
+// input "contact", "capability.contactSensor", title: "Contact Opens", required: false, multiple: true\r
+// input "contactClosed", "capability.contactSensor", title: "Contact Closes", required: false, multiple: true\r
+// input "acceleration", "capability.accelerationSensor", title: "Acceleration Detected", required: false, multiple: true\r
+// input "mySwitch", "capability.switch", title: "Switch Turned On", required: false, multiple: true\r
+// input "mySwitchOff", "capability.switch", title: "Switch Turned Off", required: false, multiple: true\r
+// input "arrivalPresence", "capability.presenceSensor", title: "Arrival Of", required: false, multiple: true\r
+// input "departurePresence", "capability.presenceSensor", title: "Departure Of", required: false, multiple: true\r
+// input "button1", "capability.button", title: "Button Press", required:false, multiple:true //remove from production\r
+// input "triggerModes", "mode", title: "System Changes Mode", required: false, multiple: true\r
+// input "timeOfDay", "time", title: "At a Scheduled Time", required: false\r
+\r
 def control()\r
 {\r
        def activities = agent.latestValue('activities')\r
@@ -293,4 +306,4 @@ private hhmm(time, fmt = "h:mm a")
 private timeIntervalLabel()\r
 {\r
        (starting && ending) ? hhmm(starting) + "-" + hhmm(ending, "h:mm a z") : ""\r
-}
\ No newline at end of file
+}\r