More events to generate based on the subscriber's list.
[smartthings-infrastructure.git] / eventSimulator / contactClosedEvent.groovy
index 505a2e8849c5c76a65d2b1d08a723c59a02bccee..e8aa87c5ca66ee474b8c39edd165724888287d94 100644 (file)
@@ -1,2 +1,2 @@
-                       contactObject.setValue([name: "contact.closed", value: "closed", deviceId: 0, descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [value: "closed"]])
+                       contactObject.setValue([name: "contact.closed", value: "closed", deviceId: "contactSensorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])