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