X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=ThreeAxis%2FThreeAxises.groovy;h=7077514c973e425a67b6f96433372d1deaae8c42;hb=591f965b054a99429e5f0c7c44078a58bcc38e06;hp=e9c027e5a9a4834d4c9bef865c10945780f745b8;hpb=bf32597a60d4f1ecf669bc4588552723e9a386ae;p=smartthings-infrastructure.git diff --git a/ThreeAxis/ThreeAxises.groovy b/ThreeAxis/ThreeAxises.groovy index e9c027e..7077514 100644 --- a/ThreeAxis/ThreeAxises.groovy +++ b/ThreeAxis/ThreeAxises.groovy @@ -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)