Electrical – Adding a (series) switch to a timer

code-complianceelectricalswitchtimerwiring

I have an existing porch light on a (spring-style) timer. I would like to add a switch for more convenience, so that the light could be manually turned on for a few seconds or for several hours.

The function of the 3 way switch would be to turn the light on directly or transfer power to the timer (in series). Would this be an okay (code compliant) way to add a (simple) switch to a timer?

Another part of the reason I ask, is because a digital timer (with simple on/off button) is like $30 in my area, whereas a 3 way switch is like $1.50. And the timer just happens to be in a box with an outlet switch that could easily be eliminated (meaning, I don't have to buy a remodel box or anything else).

Edit- New picture for clarity:

enter image description here

Best Answer

I looked at your circuit. With the switch in one position it would be on with the switch in the second "timer position" it would only be on until the timer expired. If listed devices in boxes that do not exceede the box fill for wires and devices this would be legal in the U.S.