Fixing some bugs
[smartthings-infrastructure.git] / ThreeAxis / ThreeAxises.groovy
index e9c027e..7077514 100644 (file)
@@ -52,7 +52,10 @@ public class ThreeAxises {
        def collect(Closure Input) {
                threeAxises.collect(Input)
        }
        def collect(Closure Input) {
                threeAxises.collect(Input)
        }
-
+       
+       def currentState(String deviceFeature) {
+               threeAxises[0].currentValue(deviceFeature)
+       }
 
        def currentValue(String deviceFeature) {
                threeAxises[0].currentValue(deviceFeature)
 
        def currentValue(String deviceFeature) {
                threeAxises[0].currentValue(deviceFeature)