Update smart-nightlight.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Wed, 7 Aug 2019 01:20:38 +0000 (18:20 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Wed, 7 Aug 2019 01:20:38 +0000 (18:20 -0700)
official/smart-nightlight.groovy

index 5afb0beea5a347fca24c6c25a338e077dab50b1c..53bc14cb3988348be29c10f65bff8d25821d3df8 100755 (executable)
@@ -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) {