Add changes in events
[smartthings-infrastructure.git] / eventSimulator / colorControlSwitchOnEvent.groovy
index c39c026c2a5a935d84ba22167f8bb5d455c7292f..ecdd464f8861bac55645e1709f8e6da26a282065 100644 (file)
@@ -1,2 +1,2 @@
-                       colorControlObject.setValue([name: "switch", value: "on", deviceId: "colorControlID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
\ No newline at end of file
+                       colorControlObject[0].setValue([name: "switch", value: "on", deviceId: "colorControlID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])