Infrastructure compatible with 2 types of switches.(Normal switches and otherVsGeneri...
[smartthings-infrastructure.git] / Location / LocationVar.groovy
index ca20cff63e615262e02dbc1eed6704091554911b..d006c4e70cdce141529b8038f1c1e838134f2346 100644 (file)
@@ -10,8 +10,9 @@ class LocationVar {
        private String name
        private List contacts
        private List phoneNumbers
+       private String temperatureScale 
        def sendEvent
-    
+       
        private Phrase helloHome
 
        LocationVar(Closure sendEvent) {
@@ -25,6 +26,7 @@ class LocationVar {
                this.sendEvent = sendEvent
                this.timeZone = TimeZone.getTimeZone("America/New_York")
                this.name = "hub0"
+               this.temperatureScale = "F"
        }
 
        //By Model Checker