Adjusting setLocationMode for global-variable conflict detection.
[smartthings-infrastructure.git] / GlobalVariables / GlobalVariablesEachApp.groovy
index 0e1de0bfbcb7cb00e98a1b18c854a1822bad5d57..f0e6cc7beb006ac87879073ddd916ef263a2e343 100644 (file)
@@ -3,16 +3,15 @@ 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 = []
-//Create a global list for function schedulers
-def timersFuncList = []
-//Create a global list for timer schedulers
-def timersList = []
+def eventList = new ArrayList(20)
+def valueList = new ArrayList(20)
 //Create a global variable for settings
 def settings
 //Zip code
 def zipCode = 92617
+//atomicState variable
+def atomicState = [version: "1.01"]