Yes that would mean less switching.
It is possible that I'm mis-reading what's happening on the flow though.
Here is the flow albeit still in a bit of a mess:
[{"id":"9dde6298d23603e4","type":"tab","label":"Flow 2","disabled":false,"info":"","env":[]},{"id":"a8b65dbc8afb6270","type":"junction","z":"9dde6298d23603e4","x":641.9325766861439,"y":482.4776236433536,"wires":[["3fa3d798aebe85be"]]},{"id":"803f2b30fd0a87bc","type":"switch","z":"9dde6298d23603e4","name":"Amps >20 or <2","property":"payload","propertyType":"msg","rules":[{"t":"gte","v":"20","vt":"num"},{"t":"lt","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":225.265380859375,"y":291.90370750427246,"wires":[["4712693fd502bc61"],["e1ca453e45143458"]]},{"id":"e1ca453e45143458","type":"change","z":"9dde6298d23603e4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":441.2730712890625,"y":481.7422065734863,"wires":[["a8b65dbc8afb6270"]]},{"id":"3a713b86b727cc5c","type":"switch","z":"9dde6298d23603e4","name":"SoC","property":"payload","propertyType":"msg","rules":[{"t":"lt","v":"50","vt":"num"},{"t":"btwn","v":"50","vt":"num","v2":"69","v2t":"num"},{"t":"btwn","v":"70","vt":"num","v2":"79","v2t":"num"},{"t":"gte","v":"80","vt":"num"}],"checkall":"true","repair":false,"outputs":4,"x":263.26539611816406,"y":131.28460597991943,"wires":[["6d0f7e5448e4a382"],["683bccdb22ee1ca7"],["d12b728d2edba41f"],["87f19a532a9c49f4"]]},{"id":"3fa3d798aebe85be","type":"function","z":"9dde6298d23603e4","name":"Sequentially","func":"// On Start\nlet msg1 = {}\nlet msg2 = {}\nlet msg3 = {}\nlet msg4 = {}\n\nlet aArray = context.get('aArray')\nlet aCount = context.get('aCount')\nlet pFront = context.get('pFront')\nlet pBack = context.get('pBack')\n\nconst invar = msg.payload\n\nswitch (invar) {\n case 1:\n if(aCount === 3) {\n // \n } else {\n aCount += 1\n pFront = (pFront += 1)% 3\n aArray[pFront] = 1\n } \n break\n case 0:\n if (aCount === 0) {\n //\n } else {\n aCount -= 1\n pBack = (pBack += 1)% 3\n aArray[pBack] = 0\n }\n break\n}\n\nnode.status('Input ' + invar + ' Count ' + aCount)\n\ncontext.set('aArray', aArray)\ncontext.set('aCount', aCount)\ncontext.set('pFront', pFront)\ncontext.set('pBack', pBack)\nmsg1.payload = aArray[0]\nmsg2.payload = aArray[1]\nmsg3.payload = aArray[2]\nmsg4.payload = aCount\n\nreturn [msg1, msg2, msg3,msg4]\n","outputs":4,"noerr":0,"initialize":"// Code added here will be run once\n// whenever the node is started.\n\ncontext.set('aArray', [0,0,0])\ncontext.set('aCount', 0)\ncontext.set('pFront', -1)\ncontext.set('pBack', -1)\n\nlet msg1 = {payload: 0}\nlet msg2 = {payload: 0}\nlet msg3 = {payload: 0}\nlet msg4 = {payload: 0}\nnode.send([msg1, msg2, msg3, msg4])\nnode.status('Input ' + 0 + ' Count ' + 0)\n\n","finalize":"","libs":[],"x":759.1345596313477,"y":482.23852252960205,"wires":[["be9a14a54b75ec91","a30edd2fb4d6d7df"],["4560a6b735e8b524","3417bb3701d12156"],["95eb404695640edb","f0c6518b812df717"],["6d51049146c86b4c"]]},{"id":"be9a14a54b75ec91","type":"debug","z":"9dde6298d23603e4","name":"debug 281","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1067.1344985961914,"y":370.2384614944458,"wires":[]},{"id":"4560a6b735e8b524","type":"debug","z":"9dde6298d23603e4","name":"debug 282","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1065.1345596313477,"y":454.2384605407715,"wires":[]},{"id":"95eb404695640edb","type":"debug","z":"9dde6298d23603e4","name":"debug 283","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1067.1344985961914,"y":542.2384595870972,"wires":[]},{"id":"cdf720ae45978931","type":"throttle","z":"9dde6298d23603e4","name":"","throttleType":"time","timeLimit":"2","timeLimitType":"minutes","countLimit":0,"blockSize":0,"locked":false,"x":218.265380859375,"y":447.7576789855957,"wires":[["803f2b30fd0a87bc"]]},{"id":"99b4e2f979394daa","type":"change","z":"9dde6298d23603e4","name":"Set flow.state","rules":[{"t":"set","p":"state","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":760.1345596313477,"y":113.37304592132568,"wires":[["7a0d385b0bbf2693"]]},{"id":"909d1f4470c0ce0b","type":"link out","z":"9dde6298d23603e4","name":"Stop All link out 8","mode":"link","links":["af5164fbd47a94bb"],"x":702.2730503082275,"y":40.00000762939453,"wires":[]},{"id":"87f19a532a9c49f4","type":"change","z":"9dde6298d23603e4","name":"80% 3 Relays Allowed","rules":[{"t":"set","p":"payload","pt":"msg","to":"3","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":486.2653350830078,"y":151.0615530014038,"wires":[["99b4e2f979394daa"]]},{"id":"d12b728d2edba41f","type":"change","z":"9dde6298d23603e4","name":"70% 2 Relays Allowed","rules":[{"t":"set","p":"payload","pt":"msg","to":"2","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":489.26927185058594,"y":114.05767726898193,"wires":[["99b4e2f979394daa"]]},{"id":"683bccdb22ee1ca7","type":"change","z":"9dde6298d23603e4","name":"50% 1 Relay Allowed","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":490.27310943603516,"y":77.06155300140381,"wires":[["99b4e2f979394daa","909d1f4470c0ce0b"]]},{"id":"6d0f7e5448e4a382","type":"change","z":"9dde6298d23603e4","name":"Master Relay OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"0","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":478.27308654785156,"y":40.053847312927246,"wires":[["909d1f4470c0ce0b","99b4e2f979394daa"]]},{"id":"7a0d385b0bbf2693","type":"change","z":"9dde6298d23603e4","name":"Save Flow state","rules":[{"t":"set","p":"flowstate","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":747.9181900024414,"y":168.52166557312012,"wires":[["a50abb98260e99e1","a79e39af856e996d"]]},{"id":"6d51049146c86b4c","type":"change","z":"9dde6298d23603e4","name":"Save relay on count","rules":[{"t":"set","p":"relaycount","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":459.91819763183594,"y":584.5216627120972,"wires":[["a50abb98260e99e1","a90d2b6ae3da6d57"]]},{"id":"a50abb98260e99e1","type":"function","z":"9dde6298d23603e4","name":"Compare relaycount and flowstate","func":"let relaycount = flow.get('relaycount')\nlet flowstate = flow.get('flowstate')\n\nif ( relaycount === undefined | flowstate === undefined) {\n return;\n}\n\nif (relaycount >= flowstate) {\n msg.payload = 0\n}\nif (relaycount < flowstate) {\n msg.payload = 1\n}\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":711.9181976318359,"y":226.5216646194458,"wires":[["0fb79ba3ac40969d","3a8ca7474b5ea3be"]]},{"id":"0fb79ba3ac40969d","type":"debug","z":"9dde6298d23603e4","name":"debug 284","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1063.2729263305664,"y":179.80380058288574,"wires":[]},{"id":"a90d2b6ae3da6d57","type":"debug","z":"9dde6298d23603e4","name":"debug 285","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":761.2652969360352,"y":583.8001050949097,"wires":[]},{"id":"3a8ca7474b5ea3be","type":"BooleanLogic","z":"9dde6298d23603e4","name":"","operation":"AND","inputCount":2,"topic":"result","x":758.4500503540039,"y":286.3769197463989,"wires":[["ea406aa21a4eab1c"]]},{"id":"3ea4bc6366f99cf4","type":"debug","z":"9dde6298d23603e4","name":"debug 286","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1053.6964492797852,"y":236.83856010437012,"wires":[]},{"id":"4712693fd502bc61","type":"change","z":"9dde6298d23603e4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":449.7000732421875,"y":285.65004539489746,"wires":[["3a8ca7474b5ea3be"]]},{"id":"ea406aa21a4eab1c","type":"switch","z":"9dde6298d23603e4","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"true","vt":"jsonata"},{"t":"eq","v":"false","vt":"jsonata"}],"checkall":"true","repair":false,"outputs":2,"x":772.7000503540039,"y":350.01537799835205,"wires":[["3ea4bc6366f99cf4","940004e4e0d1d6a4"],[]]},{"id":"940004e4e0d1d6a4","type":"change","z":"9dde6298d23603e4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":746.7038955688477,"y":402.48461532592773,"wires":[["a8b65dbc8afb6270","4007324d42bd1472"]]},{"id":"4007324d42bd1472","type":"debug","z":"9dde6298d23603e4","name":"debug 287","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1051.6962661743164,"y":282.66537284851074,"wires":[]},{"id":"a30edd2fb4d6d7df","type":"link out","z":"9dde6298d23603e4","name":"link out 4","mode":"link","links":["8790e476a15ec5f5"],"x":1048.7039556503296,"y":408.4307222366333,"wires":[]},{"id":"3417bb3701d12156","type":"link out","z":"9dde6298d23603e4","name":"link out 5","mode":"link","links":["e1397b487a729bce"],"x":1049.7000494003296,"y":492.43078207969666,"wires":[]},{"id":"f0c6518b812df717","type":"link out","z":"9dde6298d23603e4","name":"link out 6","mode":"link","links":["16b342adf23cd288"],"x":1049.7000484466553,"y":582.4307813644409,"wires":[]},{"id":"a79e39af856e996d","type":"debug","z":"9dde6298d23603e4","name":"debug 288","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1057.6960830688477,"y":126.66540431976318,"wires":[]},{"id":"c302f2c564437dec","type":"throttle","z":"9dde6298d23603e4","name":"","throttleType":"time","timeLimit":"3","timeLimitType":"minutes","countLimit":0,"blockSize":0,"locked":false,"x":132.27308654785156,"y":129.76537990570068,"wires":[["3a713b86b727cc5c"]]},{"id":"1ac1ec8ec56680e9","type":"inject","z":"9dde6298d23603e4","name":"Soc 49%","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"49","payloadType":"num","x":85.39614868164062,"y":41.98461294174194,"wires":[["c302f2c564437dec"]]},{"id":"fd35479a0c4d693c","type":"inject","z":"9dde6298d23603e4","name":"SoC 50%","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"50","payloadType":"num","x":83.40383911132812,"y":80.98461818695068,"wires":[["c302f2c564437dec"]]},{"id":"473c26250d8f89d7","type":"inject","z":"9dde6298d23603e4","name":"Soc 70%","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"70","payloadType":"num","x":81.39999389648438,"y":172.98077964782715,"wires":[["c302f2c564437dec"]]},{"id":"502ece2389d3e9c4","type":"inject","z":"9dde6298d23603e4","name":"Soc 80%","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"80","payloadType":"num","x":80.39614868164062,"y":208.98077677001953,"wires":[["c302f2c564437dec"]]},{"id":"faabfbd1bb211ebe","type":"inject","z":"9dde6298d23603e4","name":"Charge amps good","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"21","payloadType":"num","x":111.39614868164062,"y":390.9807929992676,"wires":[["cdf720ae45978931"]]},{"id":"63aa68ac7acb9267","type":"inject","z":"9dde6298d23603e4","name":"Charge amps bad","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"1","payloadType":"num","x":111.39999389648438,"y":505.9768867492676,"wires":[["cdf720ae45978931"]]}]