Add changes in events
[smartthings-infrastructure.git] / eventSimulator / colorChangeEvent.groovy
index 5ed3b4f34a12a520223b3bef7b1f5f642fbb5e7e..2ff42c82f526c71e34982ecdb8090379cbbc00d8 100644 (file)
@@ -1,2 +1,2 @@
-                       colorControlObject.setValue([name: "color", value: "red", deviceId: "colorControlID0", descriptionText: "",
+                       colorControlObject[0].setValue([name: "color", value: "red", deviceId: "colorControlID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])