Infrastructure that works for all the locks' group!
[smartthings-infrastructure.git] / Location / LocationVar.groovy
index b2016e839d3469b898e89b256be3d66ba7873bb5..d10206ba1e1d99a7b0f2ee3aba7ab3d4f67d066c 100644 (file)
@@ -4,6 +4,7 @@ package Location
 class LocationVar {
        private int contactBookEnabled
        private def modes
+       private def timeZone
        private String mode
        private List contacts
        private List phoneNumbers
@@ -19,6 +20,7 @@ class LocationVar {
                this.contacts = ['AJ']
                this.phoneNumbers = [9495379373]
                this.sendEvent = sendEvent
+               this.timeZone = TimeZone.getTimeZone("America/New_York")
        }
 
        //By Model Checker