//Create a class for aeon key fob package AeonKeyFob import SmartThing.SmartThings public class AeonKeyFobs extends SmartThings { List aeonKeyFobs = new ArrayList() AeonKeyFobs(Closure sendEvent) { aeonKeyFobs = smartThings // Initialization StringBuilder id = new StringBuilder("aeonKeyFobID0") StringBuilder label = new StringBuilder("button") StringBuilder displayName = new StringBuilder("aeonKeyFob0") aeonKeyFobs.add(new AeonKeyFob(sendEvent, id, label, displayName)) } }