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