Add changes in events
[smartthings-infrastructure.git] / Location / LocationVar.groovy
index 986cf78702dadf78052a295b3685b47acd1ce76f..e7328c569e6b89513b4139ce94705dc5e36e77e9 100755 (executable)
@@ -50,16 +50,9 @@ public class LocationVar extends SmartThing {
 
                        deviceValuesMap.put("mode", mode)
                        deviceValuesMap.put("Location", mode)
-                       deviceValuesMap.put("sunset", sunset)
-                       deviceValuesMap.put("sunrise", sunrise)
        }
 
        // Methods to return values
-       def currentValue(String deviceFeature) {
-               if (deviceFeature == "sunsetTime" || deviceFeature == "sunset")
-                       return System.currentTimeMillis()
-       }
-
        def getMode() {
                return mode.toString()
        }