Fixing bug in Mobile Presence class
[smartthings-infrastructure.git] / eventSimulator / nfcTouchEvent.groovy
index 00dbe6d915ba5cf3e29125f6d6b747fbb8c67c64..1409566e8f54f08bb5285490e14187a4c5d4f4c4 100644 (file)
@@ -1,2 +1,2 @@
-                       appObject.setValue([name: "nfcTouch", value: "Touched", deviceId: 0, descriptionText: "",
-                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: [value: "Touched"]])
+                       touchSensorObject.setValue([name: "nfcTouch", value: "touched", deviceId: "nfcSensorID0", descriptionText: "",
+                                       displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])