From 98d8aa1fd928b88e2e481f87b761738e357d0c18 Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Thu, 7 Nov 2019 18:27:41 -0800 Subject: [PATCH] Update thermostat.groovy --- official/thermostat.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/official/thermostat.groovy b/official/thermostat.groovy index 88dd566..058a66b 100644 --- a/official/thermostat.groovy +++ b/official/thermostat.groovy @@ -85,7 +85,7 @@ def subscribeToEvents() { def eventHandler1(evt) { log.debug "Notify got evt ${evt}" // Turn off thermostat - thermostatDevices*.setThermostatMode("off") + thermostatDevices.setThermostatMode("off") if (frequency) { def lastTime = state[evt.deviceId] if (lastTime == null || now() - lastTime >= frequency * 60000) { -- 2.34.1