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 c67053f..09be59b 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()
 }