Fixing value field type in events
[smartthings-infrastructure.git] / eventSimulator / pressureEvent.groovy
index 8cc4aae84fe59253fe4df79041c119d3900ab23c..68e0f75210bf3c95d1b9a7efa7157a95539b9fce 100644 (file)
@@ -1,2 +1,2 @@
-                       sensorObject.setValue([name: "pressure", value: 40, deviceId: "sensorID0", descriptionText: "",
+                       sensorObject.setValue([name: "pressure", value: "40", deviceId: "sensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])