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