Infrastructure compatible with locks' group!
[smartthings-infrastructure.git] / eventSimulator / nfcTouchEvent.groovy
index b8eef4b60e68211580edb39491523a2e7529186d..1409566e8f54f08bb5285490e14187a4c5d4f4c4 100644 (file)
@@ -1,2 +1,2 @@
-                       touchSensorObject[0].setValue([name: "nfcTouch", value: "touched", deviceId: "nfcSensorID0", descriptionText: "",
+                       touchSensorObject.setValue([name: "nfcTouch", value: "touched", deviceId: "nfcSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])