1 //Settings variable defined to settings on purpose
2 def settings = "Settings"
3 //Global variable for state[mode]
4 def state = [home:[],away:[],night:[]]
5 //Create a global logger object for methods
7 //Create a global variable for Functions in Subscribe method
9 //Create a global variable for Objects in Subscribe method
11 //Create a global variable for Events in Subscribe method
13 //Create a global list for function schedulers
14 def timersFuncList = []
15 //Create a global list for timer schedulers