From 1966b5593bf48b955477b6525623733f6d4167b4 Mon Sep 17 00:00:00 2001 From: Rahmadi Trimananda Date: Sat, 10 Aug 2019 10:23:06 -0700 Subject: [PATCH] Update circadian-daylight.groovy --- third-party/circadian-daylight.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/third-party/circadian-daylight.groovy b/third-party/circadian-daylight.groovy index c67053f..d5100d5 100755 --- a/third-party/circadian-daylight.groovy +++ b/third-party/circadian-daylight.groovy @@ -112,7 +112,8 @@ private def initialize() { subscribe(location, "sunrise", modeHandler) schedule("0 */15 * * * ?", modeHandler) subscribe(app,modeHandler) - subscribe(location, "sunsetTime", scheduleTurnOn) + // There seems to be a bug in the Groovy compiler with the following line + //subscribe(location, "sunsetTime", scheduleTurnOn) // rather than schedule a cron entry, fire a status update a little bit in the future recursively scheduleTurnOn() } -- 2.34.1