Removing getXXX methods + properties. Adding getProperty feature to SmartThing(s)
[smartthings-infrastructure.git] / AeonKeyFob / AeonKeyFobs.groovy
index bbb45b3e0151bed4e5bd5aa6ecd68bc2d986c609..c3dd087c841cb4443064d0e1be52ce367f58ce7a 100644 (file)
@@ -9,9 +9,9 @@ public class AeonKeyFobs extends SmartThings {
                aeonKeyFobs = smartThings
                
                // Initialization
-               StringBuilder id = new StringBuilder("aeonKeyFobID0")
-               StringBuilder label = new StringBuilder("button")
-               StringBuilder displayName = new StringBuilder("aeonKeyFob0")
+               String id = "aeonKeyFobID0"
+               String label = "button"
+               String displayName = "aeonKeyFob"
 
                aeonKeyFobs.add(new AeonKeyFob(sendEvent, id, label, displayName))
        }