When I was a young child I tied the pantry light's pull chain to string and tied the string to the door handle, just taut enough that it would enable the light when the door was opened.
Regretfully to shut the light off, I needed to first close the door, re-open the door and then finally close it.
Regretfully to shut the light off, I needed to first close the door, re-open the door and then finally close it.