Removing getXXX methods + properties. Adding getProperty feature to SmartThing(s)
[smartthings-infrastructure.git] / Momentary / Momentaries.groovy
index f08ea0980443a00287848ca08e844a16e997182a..0a6c2ac330a9f062b810712c7deff2d5d7f4bf5c 100644 (file)
@@ -10,9 +10,9 @@ public class Momentaries extends SmartThings {
                momentaries = smartThings
 
                // Initialization
-               StringBuilder id = new StringBuilder("momentaryID0")
-               StringBuilder label = new StringBuilder("momentary")
-               StringBuilder displayName = new StringBuilder("momentary0")
+               String id = "momentaryID0"
+               String label = "momentary"
+               String displayName = "momentaryDevice"
 
                momentaries.add(new Momentary(sendEvent, id, label, displayName))
        }