projects
/
smartthings-infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add changes in events
[smartthings-infrastructure.git]
/
eventSimulator
/
shockEvent.groovy
diff --git
a/eventSimulator/shockEvent.groovy
b/eventSimulator/shockEvent.groovy
index 4c5e8fc901886ca8d2cf389fb50ccc4359d068fd..d700291e827e3a65c54c93a6096d2fc8a23b4ab4 100644
(file)
--- a/
eventSimulator/shockEvent.groovy
+++ b/
eventSimulator/shockEvent.groovy
@@
-1,2
+1,2
@@
- shockSensorObject.setValue([name: "shock", value: "shocked", deviceId: "shockSensorID0", descriptionText: "",
+ shockSensorObject
[0]
.setValue([name: "shock", value: "shocked", deviceId: "shockSensorID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])