projects
/
smartthings-infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing getXXX methods + properties. Adding getProperty feature to SmartThing(s)
[smartthings-infrastructure.git]
/
eventSimulator
/
motionActiveEvent.groovy
diff --git
a/eventSimulator/motionActiveEvent.groovy
b/eventSimulator/motionActiveEvent.groovy
index 869ed7e14098279b8bff31256a4cd86c97c3cea1..543642535c189e4c4c4934bc1f2a109186e7d1c0 100644
(file)
--- a/
eventSimulator/motionActiveEvent.groovy
+++ b/
eventSimulator/motionActiveEvent.groovy
@@
-1,2
+1,2
@@
- motionSensorObject
p
[0].setValue([name: "motion", value: "active", deviceId: "motionSensorID0", descriptionText: "",
+ motionSensorObject[0].setValue([name: "motion", value: "active", deviceId: "motionSensorID0", descriptionText: "",
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])