//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 String id = "aeonKeyFobID0" String label = "button" String displayName = "aeonKeyFob" aeonKeyFobs.add(new AeonKeyFob(sendEvent, id, label, displayName)) } }