Infrastructure compatible with locks' group!
[smartthings-infrastructure.git] / eventSimulator / shockEvent.groovy
index d700291e827e3a65c54c93a6096d2fc8a23b4ab4..4c5e8fc901886ca8d2cf389fb50ccc4359d068fd 100644 (file)
@@ -1,2 +1,2 @@
-                       shockSensorObject[0].setValue([name: "shock", value: "shocked", deviceId: "shockSensorID0", descriptionText: "",
+                       shockSensorObject.setValue([name: "shock", value: "shocked", deviceId: "shockSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])