When it's not daytime, the lights should be on, so use not to update lights_on to the opposite of is_day.

Make sure to type not is_day.