Sunrise and sunset for shade control