projects
/
smartthings-infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing getXXX methods + properties. Adding getProperty feature to SmartThing(s)
[smartthings-infrastructure.git]
/
AeonKeyFob
/
AeonKeyFob.groovy
diff --git
a/AeonKeyFob/AeonKeyFob.groovy
b/AeonKeyFob/AeonKeyFob.groovy
index 6fcdb78f68b8e84b8add0d8d20d002fd6b40135b..f08cd0719128a96a8ee243648b8b5dfac13bb323 100644
(file)
--- 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
public class AeonKeyFob extends SmartThing {
// id, label, and display name of the device
- String
Builder id = new StringBuilder()
- String
Builder label = new StringBuilder()
- String
Builder displayName = new StringBuilder()
+ String
id
+ String
label
+ String
displayName
// Possible values for eventsSince method
// Possible values for eventsSince method
- List<String
Builder> possibleValues = new ArrayList<StringBuilder>();
+ List<String
> possibleValues = new ArrayList<String>()
- AeonKeyFob(Closure sendEvent, String
Builder id, StringBuilder label, StringBuilder
displayName) {
+ AeonKeyFob(Closure sendEvent, String
id, String label, String
displayName) {
idSmartThing = id
labelSmartThing = label
displayNameSmartThing = displayName
idSmartThing = id
labelSmartThing = label
displayNameSmartThing = displayName
- sendEventSmartThings = sendEvent
possibleValuesSmartThings = possibleValues
possibleValuesSmartThings = possibleValues
+ sendEventSmartThings = sendEvent
// Initialization
this.id = id
// Initialization
this.id = id