This functionality can be very usefull in environments where the light is always present, but at night you have to set the brighness to a certain level.

What you can do is to set that some minutes after the sunset, or sunrise, another criteria is used to control the brightness of the display.