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.
1
{{label}}
Copied!
If you experience issues with {{label}}, use the following instead
1
{{msg.label}}
Copied!
Click Done once parameters are set
Last modified 1yr ago
Copy link