Adding events to emulate values above and below thresholds.
[smartthings-infrastructure.git] / eventSimulator / carbonMonoxideTestedEvent.groovy
index 455c65fe5622b1d0bdc9c64c71d827c5bf8b6248..6686f9112272f23c0babafb30ca70990e10cc9b7 100644 (file)
@@ -1,2 +1,2 @@
-                       smokeDetectorObject.setValue([name: "carbonMonoxide", value: "tested", deviceId: "smokeDetectorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
\ No newline at end of file
+                       carbonMonoxideDetectorObject.setValue([name: "carbonMonoxide", value: "tested", deviceId: "carbonMonoxideDetectorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])