Fixing presence.present for name and value.
[smartthings-infrastructure.git] / eventSimulator / presencePresentEvent.groovy
index addb3c1030af336fe9ba8336b6868f529bb884c6..cd4154df080c8ba8fc85e74d447f9a155f29b9ce 100644 (file)
@@ -1,2 +1,2 @@
                        presenceSensorObject.setValue([name: "presence", value: "present", deviceId: "presenceSensorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
\ No newline at end of file
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"presence":"1","dni":"mobile0"}'])