Fixing value field type in events
[smartthings-infrastructure.git] / eventSimulator / stepGoalHighEvent.groovy
index de1ee8498a4042fe10f78456518786d130bfb9c3..51b9f3dd2321ceaa101fe502defd673c509a3f8e 100644 (file)
@@ -1,2 +1,2 @@
-                       stepSensorObject.setValue([name: "goal", value: "100"/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
+                       stepSensorObject[0].setValue([name: "goal", value: "70"/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])