I suggest adding an automatic calculation of the ephemeris day/night times (sun 6° below the horizon) based on the GNSS position of the dwelling, plus the ability to apply an offset (+ or -) to both calculations to trigger before or after the theoretical time.
This feature would allow replacing light sensors for certain uses. For example, to raise and lower shutters automatically, power outdoor lighting …
Sensors are fine but are nonetheless a potential source of failure!

