Switch node to toggle light switch on/off

Here's a link to a thread about buttons you might find useful...

Here's the link to the tutorial I wrote for my IoT students about implementing different types of buttons...
http://www.resources-area.co.uk/node-red-flows/having_fun_with_buttons.pdf