Subscribe to sunset not working

Can someone tell me why this is not triggering an event ?

subscribe(location, "sunset", sunsetHandler)

I have been waiting on this for two sunsets now. I have other subscribe events (for motion) in this app that are working fine.

It started working after a reboot. Not sure why