If it's almost sunset, turn on the lights.

1

Explore more great ways to automate Weather Underground and Philips Hue