From: Rahmadi Trimananda <rahmadi.trimananda@uci.edu>
Date: Fri, 9 Aug 2019 23:29:46 +0000 (-0700)
Subject: Update SmartPresence.groovy
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=385aaf11335561abf408322363774ae25a963d26;p=smartapps.git

Update SmartPresence.groovy
---

diff --git a/third-party/SmartPresence.groovy b/third-party/SmartPresence.groovy
index 6a675e4..eb46ecf 100755
--- a/third-party/SmartPresence.groovy
+++ b/third-party/SmartPresence.groovy
@@ -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() {