X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=SmartThing%2FSmartThing.groovy;h=7b3b26efd42ac1c56b91df5f92dd3b35f39b2b3f;hb=b6faf6d7663cbbca0606424d04c9fc89317a8941;hp=1f46551234af7f69b9a1f93c3d438d6cc046332a;hpb=2d26e7af07daad1394408bdcf76150b5aacf3a8a;p=smartthings-infrastructure.git diff --git a/SmartThing/SmartThing.groovy b/SmartThing/SmartThing.groovy index 1f46551..7b3b26e 100644 --- a/SmartThing/SmartThing.groovy +++ b/SmartThing/SmartThing.groovy @@ -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);