From: Rahmadi Trimananda Date: Sun, 11 Aug 2019 08:15:33 +0000 (-0700) Subject: Update circadian-daylight.groovy X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartapps.git;a=commitdiff_plain;h=f15e90c56301d3c914e1e6a38aea1c021ddf179d;ds=sidebyside Update circadian-daylight.groovy --- diff --git a/third-party/circadian-daylight.groovy b/third-party/circadian-daylight.groovy index c67053f..09be59b 100755 --- a/third-party/circadian-daylight.groovy +++ b/third-party/circadian-daylight.groovy @@ -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() }