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
/
valveClosedEvent.groovy
diff --git
a/eventSimulator/valveClosedEvent.groovy
b/eventSimulator/valveClosedEvent.groovy
index bc0e45ff290fa9eef42b76713f29334a35948147..9c0ce085964c9bc5787894b1a60e649c62a2443d 100644
(file)
--- a/
eventSimulator/valveClosedEvent.groovy
+++ b/
eventSimulator/valveClosedEvent.groovy
@@
-1,2
+1,2
@@
- valveObject.setValue([name: "contact", value: "closed", deviceId: "valveID0", descriptionText: "",
+ valveObject
[0]
.setValue([name: "contact", value: "closed", deviceId: "valveID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])