When you add a switch to a flow or after restarting node-red, the switch is physically in its default off state. However it does not pass trough any message nor does it show its actual state.
Only when you touch the switch it will start passing messages.
Hi
When you add a switch to a flow or after restarting node-red, the switch is physically in its default off state. However it does not pass trough any message nor does it show its actual state. Only when you touch the switch it will start passing messages.
Also posted here: https://www.reddit.com/r/nodered/comments/9fgesh/initial_state_of_a_switch/
What can you do about it? I would like to have a default/init state for the switch to be set.
Thanks!