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) {