X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=SmartThing%2FSmartThings.groovy;fp=SmartThing%2FSmartThings.groovy;h=469c3c007f130edcf8ed444f37977d96914fb496;hb=a3f4618b470eb84dec709f3ea98104365543c6cb;hp=3e1d4e059bc33d5b62ebba760eccdeea60b93a7c;hpb=4ae86fc86ba1f31391ad4136d5c9b39625974f78;p=smartthings-infrastructure.git diff --git a/SmartThing/SmartThings.groovy b/SmartThing/SmartThings.groovy index 3e1d4e0..469c3c0 100644 --- a/SmartThing/SmartThings.groovy +++ b/SmartThing/SmartThings.groovy @@ -43,7 +43,7 @@ public class SmartThings { if (smartThings[0] == null) return List tmpValues = new ArrayList() - tmpValues.add(smartThings[0].getProperty(currentProperty)) + tmpValues.add(smartThings[0].propertyMissing(currentProperty)) return tmpValues }