Update circadian-daylight.groovy
authorRahmadi Trimananda <rahmadi.trimananda@uci.edu>
Sun, 11 Aug 2019 08:15:33 +0000 (01:15 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Sun, 11 Aug 2019 08:15:33 +0000 (01:15 -0700)
third-party/circadian-daylight.groovy

index c67053f6f77a9368b3f0adae36274a7411e189b5..09be59b36a4b9363d3a011202a87fdd66a74dc1b 100755 (executable)
@@ -112,7 +112,7 @@ private def initialize() {
     subscribe(location, "sunrise", modeHandler)
     schedule("0 */15 * * * ?", modeHandler)
     subscribe(app,modeHandler)
-    subscribe(location, "sunsetTime", scheduleTurnOn)
+    //subscribe(location, "sunsetTime", scheduleTurnOn)
     // rather than schedule a cron entry, fire a status update a little bit in the future recursively
     scheduleTurnOn()
 }