subscribe(location, "sunrise", modeHandler)
schedule("0 */15 * * * ?", modeHandler)
subscribe(app,modeHandler)
- subscribe(location, "sunsetTime", scheduleTurnOn)
+ // There seems to be a bug in the Groovy compiler with the following line
+ //subscribe(location, "sunsetTime", scheduleTurnOn)
// rather than schedule a cron entry, fire a status update a little bit in the future recursively
scheduleTurnOn()
}