Change value field in events
[smartthings-infrastructure.git] / eventSimulator / pHEvent.groovy
index cf52512d50e6662f622dfd243c6bac0cad7f00a2..200cafe6bc56e100eb662177916aedded1840fe5 100644 (file)
@@ -1,2 +1,2 @@
-                       pHMeasurementObject.setValue([name: "pH", value: "40", deviceId: "pHMeasurementID0", descriptionText: "",
+                       pHMeasurementObject[0].setValue([name: "pH", value: 40, deviceId: "pHMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])