Update SmartPresence.groovy
authorRahmadi Trimananda <rahmadi.trimananda@uci.edu>
Fri, 9 Aug 2019 23:29:46 +0000 (16:29 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 9 Aug 2019 23:29:46 +0000 (16:29 -0700)
third-party/SmartPresence.groovy

index 6a675e42a52cb8881b8c1ef99463e3d38a9ac1e5..eb46ecf630914c8651aa6434cf85482c9ce56302 100755 (executable)
@@ -17,6 +17,12 @@ preferences {
     page(name: "selectPhrases")
 
     page( name:"Settings", title:"Settings", uninstall:true, install:true ) {
+
+       section {
+               input "starting", "time", title: "Starting", required: false
+               input "ending", "time", title: "Ending", required: false
+       }
+
         section("False alarm threshold (defaults to 10 min)") {
             input "falseAlarmThreshold", "decimal", title: "Number of minutes", required: false
         }
@@ -65,7 +71,7 @@ def selectPhrases() {
 def installed() {
     init()
     initialize()
-    subscribe(app)
+    //subscribe(app)
 }
 
 def updated() {