From 385aaf11335561abf408322363774ae25a963d26 Mon Sep 17 00:00:00 2001 From: Rahmadi Trimananda Date: Fri, 9 Aug 2019 16:29:46 -0700 Subject: [PATCH] Update SmartPresence.groovy --- third-party/SmartPresence.groovy | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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() { -- 2.34.1