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 cb7869671d20fd7e425c9548aeca193a2b086f02..b8dd621affedd84c3583e18571f94d60dbac33ba 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
+    }