subscribe(location, "sunrise", modeHandler)
schedule("0 */15 * * * ?", modeHandler)
subscribe(app,modeHandler)
- subscribe(location, "sunsetTime", scheduleTurnOn)
+ //subscribe(location, "sunsetTime", scheduleTurnOn)
// rather than schedule a cron entry, fire a status update a little bit in the future recursively
scheduleTurnOn()
}