Add support for values to subscribe function
[smartthings-infrastructure.git] / eventSimulator / switchOnEvent.groovy
index 324f6e855bf37ebe70940e4bce64205093dd9bac..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"]])
\ No newline at end of file
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])