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
/
sleepNotSleepingEvent.groovy
diff --git
a/eventSimulator/sleepNotSleepingEvent.groovy
b/eventSimulator/sleepNotSleepingEvent.groovy
index 2abc19ab7b7c747ffebb85b6db5e04a57691e2b2..cb5c668b8fe66e8a75bcf263d230f165d40dd339 100644
(file)
--- a/
eventSimulator/sleepNotSleepingEvent.groovy
+++ b/
eventSimulator/sleepNotSleepingEvent.groovy
@@
-1,2
+1,2
@@
- sleepSensorObject.setValue([name: "sleeping", value: "not sleeping", deviceId: "sleepSensorID0", descriptionText: "",
+ sleepSensorObject
[0]
.setValue([name: "sleeping", value: "not sleeping", deviceId: "sleepSensorID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])