projects
/
smartthings-infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Infrastructure now works for: locks, alarms, thermostats, and non-hue lights.
[smartthings-infrastructure.git]
/
SwitchLevel
/
SwitchLevels.groovy
diff --git
a/SwitchLevel/SwitchLevels.groovy
b/SwitchLevel/SwitchLevels.groovy
index 490e52dc66338184f01c8fef8b3a53a3098d3641..1bae6a1c30ccf519b1f7535cefafde160581c251 100644
(file)
--- a/
SwitchLevel/SwitchLevels.groovy
+++ b/
SwitchLevel/SwitchLevels.groovy
@@
-123,6
+123,15
@@
public class SwitchLevels {
}
}
+ def currentValue(String deviceFeature) {
+ switchLevels[0].currentValue(deviceFeature)
+ }
+
+ def latestValue(String deviceFeature) {
+ switchLevels[0].latestValue(deviceFeature)
+ }
+
+
def getAt(int ix) {
switchLevels[ix]
}