Add support for values to subscribe function
[smartthings-infrastructure.git] / GlobalVariables / GlobalVariablesEachApp.groovy
1 //Global variable for state[mode]
2 def state = [home:[],away:[],night:[]]
3 //Create a global logger object for methods
4 def log = new Logger()
5 //Create a global variable for Functions in Subscribe method
6 def functionList = new ArrayList(20)
7 //Create a global variable for Objects in Subscribe method
8 def objectList = new ArrayList(20)
9 //Create a global variable for Events in Subscribe method
10 def eventList = new ArrayList(20)
11 def valueList = new ArrayList(20)
12 //Create a global variable for settings
13 def settings
14 //Zip code
15 def zipCode = 92617
16 //atomicState variable
17 def atomicState = [version: "1.01"]