Add changes in events
[smartthings-infrastructure.git] / eventSimulator / smokeDefaultClearEvent.groovy
index 57083a8a0d36e480bda88a9b3c88bcc3a1fa3bfe..ed1c9c6f0ab30f37c871ded12581317afc8fb28f 100644 (file)
@@ -1,2 +1,2 @@
-                       smokeDetectorObject.setValue([name: "smoke.clear", value: "clear", deviceId: "smokeDetectorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
\ No newline at end of file
+                       smokeDetectorObject[0].setValue([name: "smoke.clear", value: "clear", deviceId: "smokeDetectorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])