Trying to turn off an output 1second after a switch is tripped

very nice! Thanks