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
/
switchOnEvent.groovy
diff --git
a/eventSimulator/switchOnEvent.groovy
b/eventSimulator/switchOnEvent.groovy
index fa1ef3a45575a970798cad0fa3f0cf77b95979e0..b9b778697be54359136679a3395fe63acbd1b0a0 100644
(file)
--- a/
eventSimulator/switchOnEvent.groovy
+++ b/
eventSimulator/switchOnEvent.groovy
@@
-1,2
+1,2
@@
- switchObject.setValue([name: "switch", value: "on", deviceId: "switchID0", descriptionText: "",
+ switchObject
[0]
.setValue([name: "switch", value: "on", deviceId: "switchID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])