From: Seyed Amir Hossein Aqajari Date: Wed, 7 Aug 2019 01:20:38 +0000 (-0700) Subject: Update smart-nightlight.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=350c7e11d54f07fb17fc1229552dc7f2e0e6489b;p=smartapps.git Update smart-nightlight.groovy --- 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) {