Commit #9: extension to the infrastructure with more devices + minor changes in extra...
[smartthings-infrastructure.git] / Location / LocationVar.groovy
1 //Create a class for location variable
2 package Location
3
4 class LocationVar {
5         private int contactBookEnabled
6         private def modes
7         private String mode
8         private List contacts
9         private List phoneNumbers
10     
11         private Phrase helloHome
12
13         LocationVar() {
14                 this.modes = [[name: "home"],[name: "away"],[name: "night"]]
15                 this.mode = "home"
16                 this.helloHome = new Phrase()
17                 this.contactBookEnabled = 1
18                 this.contacts = ['AJ']
19                 this.phoneNumbers = [9495379373]
20         }
21 }