A photocell relay automatically switches yard and entrance lights on after dark and off in daylight. Correct sensor placement and weatherproof wiring are essential.
Lighting load, cable, breaker, RCD and the photocell contact rating must be considered.
For a large lighting load, the photocell controls a contactor coil while the contactor switches the main current.