Switching between two analogue values (manual/automatic) with a dashboard switch

Select the nodes and Ctrl-E (or Export via menu). When pasting use the </> button at the top of the forum entry window. See this post for more details - How to share code or flow json

The Join node does not need to wait for three messages every time. You can select 'and on subsequent messages' and then it will send the combined message every time any one comes in.
Once you have them in one message you can use a Switch node to only pass on the message when the topic matches the analogue topic, and then another to split the path dependent on the value of the binary.

[Edit] Actually you probably don't want the first Switch, as you need to change the output if the binary value changes.