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