Twilight switch with integrated light sensor, fixed on and off delay, to avoid incorrect switching caused by lightning, car headlights, etc.