Changes in classes: new concept for latest value + all types of events generated...
[smartthings-infrastructure.git] / Location / LocationVar.groovy
index d10206ba1e1d99a7b0f2ee3aba7ab3d4f67d066c..a87abe9834197ab321f5b935e41416be893b72b9 100644 (file)
@@ -6,6 +6,7 @@ class LocationVar {
        private def modes
        private def timeZone
        private String mode
+       private String name
        private List contacts
        private List phoneNumbers
        def sendEvent
@@ -21,6 +22,7 @@ class LocationVar {
                this.phoneNumbers = [9495379373]
                this.sendEvent = sendEvent
                this.timeZone = TimeZone.getTimeZone("America/New_York")
+               this.name = "hub0"
        }
 
        //By Model Checker