From e418f588979a14acfbd4ce9cc8d3a4698aa26a1e Mon Sep 17 00:00:00 2001 From: Ingvar Marstorp Date: Fri, 28 Jul 2017 18:25:37 -0700 Subject: [PATCH] Update zwave-thermostat.groovy --- .../smartthings/zwave-thermostat.src/zwave-thermostat.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/devicetypes/smartthings/zwave-thermostat.src/zwave-thermostat.groovy b/devicetypes/smartthings/zwave-thermostat.src/zwave-thermostat.groovy index 0a8ab7a..f90ea6e 100644 --- a/devicetypes/smartthings/zwave-thermostat.src/zwave-thermostat.groovy +++ b/devicetypes/smartthings/zwave-thermostat.src/zwave-thermostat.groovy @@ -523,7 +523,6 @@ def switchFanMode() { if (supportedFanModes) { def next = { supportedFanModes[supportedFanModes.indexOf(it) + 1] ?: supportedFanModes[0] } def nextMode = next(currentMode) - setThermostatFanMode(nextMode) runIn(2, "setThermostatFanMode", [data: [nextMode: nextMode], overwrite: true]) } else { log.warn "supportedFanModes not defined"