Merge pull request #753 from SmartThingsCommunity/staging

Rolling down staging hotfixes to master
This commit is contained in:
Vinay Rao
2016-04-01 13:51:12 -07:00
10 changed files with 102 additions and 41 deletions

View File

@@ -40,6 +40,7 @@ preferences {
page name:"pageSetup"
page name:"Setup"
page name:"Settings"
page name: "timeIntervalInput"
}
@@ -185,7 +186,8 @@ def Settings() {
}
}
page(name: "timeIntervalInput", title: "Only during a certain time", refreshAfterSelection:true) {
def timeIntervalInput() {
dynamicPage(name: "timeIntervalInput") {
section {
input "startTimeType", "enum", title: "Starting at", options: [["time": "A specific time"], ["sunrise": "Sunrise"], ["sunset": "Sunset"]], defaultValue: "time", submitOnChange: true
if (startTimeType in ["sunrise","sunset"]) {
@@ -204,9 +206,10 @@ page(name: "timeIntervalInput", title: "Only during a certain time", refreshAfte
input "ending", "time", title: "End time", required: false
}
}
}
}
def installed() {
initialize()
}