Infrastructure compatible for all groups instead of switches.
[smartthings-infrastructure.git] / Location / LocationVar.groovy
index a87abe9834197ab321f5b935e41416be893b72b9..ca20cff63e615262e02dbc1eed6704091554911b 100644 (file)
@@ -5,6 +5,7 @@ class LocationVar {
        private int contactBookEnabled
        private def modes
        private def timeZone
+       private def hubs
        private String mode
        private String name
        private List contacts
@@ -14,6 +15,7 @@ class LocationVar {
        private Phrase helloHome
 
        LocationVar(Closure sendEvent) {
+               this.hubs = [[id:0, localIP:"128.195.204.105"]]
                this.modes = [[name: "home"],[name: "away"],[name: "night"]]
                this.mode = "home"
                this.helloHome = new Phrase()