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