Update sunrise-sunset.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Fri, 9 Aug 2019 00:27:53 +0000 (17:27 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Fri, 9 Aug 2019 00:27:53 +0000 (17:27 -0700)
official/sunrise-sunset.groovy

index 783684a..0f355a9 100755 (executable)
@@ -68,7 +68,7 @@ def updated() {
 }
 
 def initialize() {
-       subscribe(location, "mode", locationPositionChange)
+       //subscribe(location, "mode", locationPositionChange)
        subscribe(location, "sunriseTime", sunriseSunsetTimeHandler)
        subscribe(location, "sunsetTime", sunriseSunsetTimeHandler)