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