Fixing bugs in infra
[smartthings-infrastructure.git] / eventSimulator / beaconLeftEvent.groovy
index 699c4e7c7880039d197f660334b2f744b5fd7b1b..21a077c78acf8b974cedc31a7ad93312b594263f 100644 (file)
@@ -1,2 +1,2 @@
-                       beaconSensorObject.setValue([name: "beacon", value: "not present", deviceId: "beaconSensorID0", descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [info: "info"]])
+                       beaconSensorObject[0].setValue([name: "presence", value: "not present", deviceId: "beaconSensorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"presence":"0","dni":"mobile0"}'])