Twilight switch
What is a twilight switch?

Twilight switches control the switching on and off of lighting by exceeding or falling below a set light value. Light is therefore switched on and off depending on the ambient brightness.