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