Add changes in events
[smartthings-infrastructure.git] / eventSimulator / contactDefaultOpenEvent.groovy
index 71c81c5a355e167453b690f27ce9b7c780bc40c9..55d7a427a4d8dcafc7b5f853b0db3f539fe1fd96 100644 (file)
@@ -1,2 +1,2 @@
-                       contactObject.setValue([name: "contact", value: "open", deviceId: "contactSensorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
\ No newline at end of file
+                       contactObject[0].setValue([name: "contact", value: "open", deviceId: "contactSensorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])