ICP-1148 Support Thermostat Dynamic data

Adding default "off" thermostat mode as it is not provided by the thermostat.
This commit is contained in:
marstorp
2017-06-27 16:19:49 -07:00
parent 6b1e41198c
commit b069669c11

View File

@@ -158,7 +158,7 @@ def generateEvent(Map results) {
if(results) { if(results) {
def linkText = getLinkText(device) def linkText = getLinkText(device)
def supportedThermostatModes = [] def supportedThermostatModes = ["off"]
def thermostatMode = null def thermostatMode = null
results.each { name, value -> results.each { name, value ->