Skip to content

Commit 8b4779d

Browse files
committed
v2.0.2 use of getApiServerUrl() instead of hard coded value
1 parent 865f634 commit 8b4779d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

smartapps/My ecobee Init.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def about() {
4343
dynamicPage(name: "about", install: false, uninstall: true) {
4444
section("About") {
4545
paragraph "My Ecobee Init, the smartapp that connects your Ecobee thermostat to SmartThings via cloud-to-cloud integration"
46-
paragraph "Version 2.0.1\n\n" +
46+
paragraph "Version 2.0.2\n\n" +
4747
"If you like this app, please support the developer via PayPal:\n\n[email protected]\n\n" +
4848
"Copyright©2014 Yves Racine"
4949
href url:"http://github.com/yracine/device-type.myecobee", style:"embedded", required:false, title:"More information...",
@@ -623,7 +623,7 @@ def toQueryString(Map m) {
623623
def getChildNamespace() { "yracine" }
624624
def getChildName() { "My Ecobee Device" }
625625

626-
def getServerUrl() { return "https://graph.api.smartthings.com" }
626+
def getServerUrl() { return getApiServerUrl() }
627627

628628
def getSmartThingsClientId() { "qqwy6qo0c2lhTZGytelkQ5o8vlHgRsrO" }
629629

0 commit comments

Comments
 (0)