Feedback on time-delayed TRIAC design
you could add a series capacitor to R1, to not ruin the power saving of the led over an old bulb.

but the thing gets complex. you want a reliable brake light, so you got led. who cares if the car does not detect the trailer?