9. Adding Switch Node

Next, we can drag and drop a switch node into the canvas along with a comment node. This will be used to turn on and off the fish tank light for the lighting system.

Name the comment node Lighting Control Section.

Double-click on the switch node, and change the following parameters

The Label parameter will be the following. This will allow us to change the text when light is ON or OFF in the future.

{{label}}

If you experience issues with {{label}}, use the following instead

{{msg.label}}

Click Done once parameters are set

Last updated