projects
/
smartthings-infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Infrastructure compatible with all groups now!
[smartthings-infrastructure.git]
/
Switch
/
Switches.groovy
diff --git
a/Switch/Switches.groovy
b/Switch/Switches.groovy
index e6ac8646571f6c4580146f0cb8a2fb08f22339d1..a0e191cf4f61e4b92c33aafcf3670b273aa8946d 100644
(file)
--- a/
Switch/Switches.groovy
+++ b/
Switch/Switches.groovy
@@
-58,6
+58,10
@@
public class Switches {
}
//By Apps
+ def eventsSince(Date dateObj, LinkedHashMap metaData) {
+ return switches[0].eventsSince()
+ }
+
def setLevel(int level) {
currentLevel = level
switches[0].setLevel(level)