From b069669c11d8b3cf036375e5a508e18db296a121 Mon Sep 17 00:00:00 2001 From: marstorp Date: Tue, 27 Jun 2017 16:19:49 -0700 Subject: [PATCH] ICP-1148 Support Thermostat Dynamic data Adding default "off" thermostat mode as it is not provided by the thermostat. --- .../smartthings/ecobee-thermostat.src/ecobee-thermostat.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devicetypes/smartthings/ecobee-thermostat.src/ecobee-thermostat.groovy b/devicetypes/smartthings/ecobee-thermostat.src/ecobee-thermostat.groovy index c444bb6..cf4ef3f 100644 --- a/devicetypes/smartthings/ecobee-thermostat.src/ecobee-thermostat.groovy +++ b/devicetypes/smartthings/ecobee-thermostat.src/ecobee-thermostat.groovy @@ -158,7 +158,7 @@ def generateEvent(Map results) { if(results) { def linkText = getLinkText(device) - def supportedThermostatModes = [] + def supportedThermostatModes = ["off"] def thermostatMode = null results.each { name, value ->