Fixing bugs in infrastructure
[smartthings-infrastructure.git] / SmartThing / SmartThing.groovy
index 1f46551234af7f69b9a1f93c3d438d6cc046332a..7b3b26efd42ac1c56b91df5f92dd3b35f39b2b3f 100644 (file)
@@ -122,7 +122,7 @@ public class SmartThing {
        }
 
        // Methods to return values
-       def getProperty(String currentProperty) {
+       def propertyMissing(String currentProperty) {
                String property = currentProperty
                if (property.contains("current")) // Check to see if we have currentXXX or xxx
                        property = property.substring(7,8).toLowerCase()+property.substring(8);