Add changes in events
[smartthings-infrastructure.git] / eventSimulator / thermostatFanCirculateFanModeEvent.groovy
index 2812058667a2977959831e552250df94ac85cec6..37f2276f921a1ef5581ecdf88cf2764c37b00d19 100644 (file)
@@ -1,2 +1,2 @@
-                       thermostatObject.setValue([name: "thermostatFanMode", value: "fanCirculate", deviceId: "thermostatID0", descriptionText: "",
+                       thermostatObject[0].setValue([name: "thermostatFanMode", value: "fanCirculate", deviceId: "thermostatID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])