# One Button toggle to turn light on and off

**URL:** <https://discourse.nodered.org/t/one-button-toggle-to-turn-light-on-and-off/62050>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [2 May 2022 08:15 UTC](https://discourse.nodered.org/t/one-button-toggle-to-turn-light-on-and-off/62050 "2022-05-02T08:15:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [2 May 2022 08:32 UTC](https://discourse.nodered.org/t/one-button-toggle-to-turn-light-on-and-off/62050/3 "2022-05-02T08:32:02Z")

</div>

Hello and welcome to the forum.

Here's a [link](http://www.resources-area.co.uk/node-red-flows/having_fun_with_buttons.pdf) to a worksheet I created for my IoT students. It shows how to create various buttons.

[Having fun with buttons](http://www.resources-area.co.uk/node-red-flows/having_fun_with_buttons.pdf)

---

_[View the full topic](https://discourse.nodered.org/t/one-button-toggle-to-turn-light-on-and-off/62050)._
