1 //Create a class for aeon key fob
3 import SmartThing.SmartThings
5 public class AeonKeyFobs extends SmartThings {
6 List aeonKeyFobs = new ArrayList()
8 AeonKeyFobs(Closure sendEvent) {
9 aeonKeyFobs = smartThings
12 String id = "aeonKeyFobID0"
13 String label = "button"
14 String displayName = "aeonKeyFob"
16 aeonKeyFobs.add(new AeonKeyFob(sendEvent, id, label, displayName))