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 6a675e4..eb46ecf 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() {