X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=AeonKeyFob%2FAeonKeyFob.groovy;h=f08cd0719128a96a8ee243648b8b5dfac13bb323;hb=2d26e7af07daad1394408bdcf76150b5aacf3a8a;hp=6fcdb78f68b8e84b8add0d8d20d002fd6b40135b;hpb=83071d3bcfc33f015ece13868342644498a9dda3;p=smartthings-infrastructure.git diff --git a/AeonKeyFob/AeonKeyFob.groovy b/AeonKeyFob/AeonKeyFob.groovy index 6fcdb78..f08cd07 100644 --- a/AeonKeyFob/AeonKeyFob.groovy +++ b/AeonKeyFob/AeonKeyFob.groovy @@ -4,18 +4,18 @@ import SmartThing.SmartThing public class AeonKeyFob extends SmartThing { // id, label, and display name of the device - StringBuilder id = new StringBuilder() - StringBuilder label = new StringBuilder() - StringBuilder displayName = new StringBuilder() + String id + String label + String displayName // Possible values for eventsSince method - List possibleValues = new ArrayList(); + List possibleValues = new ArrayList() - AeonKeyFob(Closure sendEvent, StringBuilder id, StringBuilder label, StringBuilder displayName) { + AeonKeyFob(Closure sendEvent, String id, String label, String displayName) { idSmartThing = id labelSmartThing = label displayNameSmartThing = displayName - sendEventSmartThings = sendEvent possibleValuesSmartThings = possibleValues + sendEventSmartThings = sendEvent // Initialization this.id = id