From 350c7e11d54f07fb17fc1229552dc7f2e0e6489b Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Tue, 6 Aug 2019 18:20:38 -0700 Subject: [PATCH] Update smart-nightlight.groovy --- official/smart-nightlight.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/official/smart-nightlight.groovy b/official/smart-nightlight.groovy index 5afb0be..53bc14c 100755 --- a/official/smart-nightlight.groovy +++ b/official/smart-nightlight.groovy @@ -70,19 +70,19 @@ def initialize() { subscribe(location, "position", locationPositionChange) subscribe(location, "sunriseTime", sunriseSunsetTimeHandler) subscribe(location, "sunsetTime", sunriseSunsetTimeHandler) - astroCheck() + //astroCheck() } } def locationPositionChange(evt) { log.trace "locationChange()" - astroCheck() + //astroCheck() } def sunriseSunsetTimeHandler(evt) { state.lastSunriseSunsetEvent = now() log.debug "SmartNightlight.sunriseSunsetTimeHandler($app.id)" - astroCheck() + //astroCheck() } def motionHandler(evt) { -- 2.34.1