Update speaker-weather-forecast.groovy
[smartapps.git] / official / routine-director.groovy
index 21d0c484d36d4650d7042d21ab63d73c10349130..f881ffb64e85fcd4f129c6a88117e7d378877e35 100755 (executable)
@@ -33,6 +33,13 @@ definition(
 )
 
 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
+        }
+    }
+
     page(name: "selectRoutines")
 
     page(name: "Settings", title: "Settings", uninstall: true, install: true) {
@@ -60,6 +67,10 @@ preferences {
                 options: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
             input "modes", "mode", title: "Only when mode is", multiple: true, required: false
         }
+
+       section("Change to this mode") {
+               input "newMode", "mode", title: "Mode?"
+       }  
     }
 }