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