Light Fade In

Also, to actually answer your question, it would be this section

""" Calculate number of steps """
steps = int(math.fabs((start_level - end_level)))
fadeout = True if start_level > end_level else False

""" Calculate the delay time """
delay = round(transition / steps, 3)

""" Disable delay and increase stepping if delay < 3/4 second """
if (delay < .750):
    delay = 0
    steps = int(steps / 5)
    step_by = 5
else:
    step_by = 1

You would change step_by and delay to account for the transition time.