Add changes in events
[smartthings-infrastructure.git] / eventSimulator / colorControlSwitchOnDefaultEvent.groovy
index 9f2c8495d10501ebfb8e743ce2b301d28101408b..735fc577baa9b1bf617a23027d1d343bbd1e745b 100644 (file)
@@ -1,2 +1,2 @@
-                       colorControlObject.setValue([name: "switch.on", 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.on", value: "on", deviceId: "colorControlID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])