Infrastructure now works for: locks, alarms, thermostats, and non-hue lights.
[smartthings-infrastructure.git] / SwitchLevel / SwitchLevels.groovy
index 490e52dc66338184f01c8fef8b3a53a3098d3641..1bae6a1c30ccf519b1f7535cefafde160581c251 100644 (file)
@@ -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]
        }