Add changes in events
[smartthings-infrastructure.git] / eventSimulator / thermostatAutoFanModeEvent.groovy
index 40d3de87ce4186f149a42b16a6930ce174770ad2..767468f5763c33951d3b3c5072010a93cef520a0 100644 (file)
@@ -1,2 +1,2 @@
-                       thermostatObject.setValue([name: "thermostatFanMode", value: "auto", deviceId: "thermostatID0", descriptionText: "",
+                       thermostatObject[0].setValue([name: "thermostatFanMode", value: "auto", deviceId: "thermostatID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])