Adding 'level' for colorControl.
[smartthings-infrastructure.git] / eventSimulator / switchOnEvent.groovy
index a832223f06f2ccf073ce9baa98ceb3bbfb055146..fa1ef3a45575a970798cad0fa3f0cf77b95979e0 100644 (file)
@@ -1,2 +1,2 @@
                        switchObject.setValue([name: "switch", value: "on", deviceId: "switchID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])