Tell us about yourself!
Thanks Simon. Worked on the first try. I've added the sketch to my personal library of stuff that works that I piece together sketches from.
Also thought I'd have to use an RC circuit, but i don't as the switch I have (looks identical to yours from AliExpress) works perfectly with the code you have written