Updating global variable app list.
[smartthings-infrastructure.git] / GlobalVariables / GlobalVariablesEachApp.groovy
index 2b6544cd497c325e87da21635e183b8d4a683554..f0e6cc7beb006ac87879073ddd916ef263a2e343 100644 (file)
@@ -1,16 +1,17 @@
-//Settings variable defined to settings on purpose
-def settings = "Settings"
 //Global variable for state[mode]
 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"]