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