Fixing bug in Mobile Presence class
[smartthings-infrastructure.git] / GlobalVariables / GlobalVariablesEachApp.groovy
index ae8b936042f5259750bbfa5c5f9791853bec2a30..f0e6cc7beb006ac87879073ddd916ef263a2e343 100644 (file)
@@ -3,11 +3,12 @@ def state = [home:[],away:[],night:[]]
 //Create a global logger object for methods
 def log = new Logger()
 //Create a global variable for Functions in Subscribe method
-def functionList = []
+def functionList = new ArrayList(20)
 //Create a global variable for Objects in Subscribe method
-def objectList = []
+def objectList = new ArrayList(20)
 //Create a global variable for Events in Subscribe method
-def eventList = []
+def eventList = new ArrayList(20)
+def valueList = new ArrayList(20)
 //Create a global variable for settings
 def settings
 //Zip code