Infrastructure compatible with locks, alarms, and thermostats group
[smartthings-infrastructure.git] / SmartThing / SmartThings.groovy
index 3e1d4e059bc33d5b62ebba760eccdeea60b93a7c..469c3c007f130edcf8ed444f37977d96914fb496 100644 (file)
@@ -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
        }