Photocell

light activated switch

 
Light-sensitive device used to operate fixtures according to available daylight.  Most often used to turn on outdoor or security lights at dusk and to turn them of at dawn.