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 StringBuilder id = new StringBuilder("aeonKeyFobID0")
13 StringBuilder label = new StringBuilder("button")
14 StringBuilder displayName = new StringBuilder("aeonKeyFob0")
16 aeonKeyFobs.add(new AeonKeyFob(sendEvent, id, label, displayName))