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