Update hello-home-phrase-director.groovy
authorRahmadi Trimananda <rahmadi.trimananda@uci.edu>
Thu, 8 Aug 2019 20:34:28 +0000 (13:34 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Thu, 8 Aug 2019 20:34:28 +0000 (13:34 -0700)
official/hello-home-phrase-director.groovy

index cb78696..b8dd621 100755 (executable)
     )
     
     preferences {
+        page(name: "timeIntervalInput", title: "Only during a certain time") {
+                       section {
+                               input "starting", "time", title: "Starting", required: false
+                               input "ending", "time", title: "Ending", required: false
+                       }
+               }
+           section("Change to this mode") {
+                   input "newMode", "mode", title: "Mode?"
+           }
+        
       page(name: "selectPhrases")
         
       page( name:"Settings", title:"Settings", uninstall:true, install:true ) {
                sendNotification("Your version of Hello, Home Phrase Director is currently out of date. Please look for the new version of Hello, Home Phrase Director now called 'Routine Director' in the marketplace.")
                state.lastTime = (new Date() + 31).getTime()
         }
-    }
\ No newline at end of file
+    }