How does the coop light work?

Time Mode Example

The door is set to close at 19:00. At 18:55 (5 minutes before closing time), the light turns on. The light remains on for 5 minutes, then at 19:00 the door closes, and the light turns off.

Light Mode Example

As it gets dark, the light level falls below the close threshold. A 15-minute monitoring period begins. If it remains continuously dark for the full 15 minutes, the coop light will turn on for 5 minutes, and then the door will close.