Merge pull request #1925 from SmartThingsCommunity/production

Rolling down production to staging
This commit is contained in:
Vinay Rao
2017-04-20 01:41:14 -07:00
committed by GitHub

View File

@@ -47,6 +47,7 @@ def getCallbackUrl() { return "${getServerUrl()}/oauth/callback" }
def apiURL(path = '/') { return "https://api.lifx.com/v1${path}" }
def getSecretKey() { return appSettings.secretKey }
def getClientId() { return appSettings.clientId }
private getVendorName() { "LIFX" }
def authPage() {
log.debug "authPage test1"
@@ -76,6 +77,7 @@ def authPage() {
return dynamicPage(name:"Credentials", title:"", nextPage:"", install:true, uninstall: true) {
section("Select your location") {
input "selectedLocationId", "enum", required:true, title:"Select location ({{count}} found)", messageArgs: [count: count], multiple:false, options:options, submitOnChange: true
paragraph "Devices will be added automatically from your ${vendorName} account. To add or delete devices please use the Official ${vendorName} App."
}
}
}