So I have this flow that is suppose to active two Switchs three times each. Sometimes I get a “No connection error” which will then skip an activation on the first switch. Any thoughts our guidance on this?
[{"id":"28fef98818596f60","type":"tab","label":"Bed Warmer","disabled":false,"info":"","env":[]},{"id":"98805b1fceb0f656","type":"server-state-changed","z":"28fef98818596f60","name":"Night Time Mode Activated","server":"58789d9e.7d1274","version":5,"outputs":1,"exposeAsEntityConfig":"","entityId":"scene.bed_time","entityIdType":"exact","outputInitially":false,"stateType":"str","ifState":"","ifStateType":"str","ifStateOperator":"is","outputOnlyOnStateChange":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"}],"x":390,"y":440,"wires":[["781d8babde1e323a"]]},{"id":"0f231fe4979f1b1f","type":"split","z":"28fef98818596f60","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":790,"y":500,"wires":[["0a93e223b2b8198a"]]},{"id":"781d8babde1e323a","type":"change","z":"28fef98818596f60","name":"Set array 1 to n","rules":[{"t":"set","p":"payload","pt":"msg","to":"[0..2]","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":640,"y":500,"wires":[["0f231fe4979f1b1f"]]},{"id":"0a93e223b2b8198a","type":"delay","z":"28fef98818596f60","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"20","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":960,"y":500,"wires":[["ca94d21053e0e603"]]},{"id":"ca94d21053e0e603","type":"api-call-service","z":"28fef98818596f60","name":"Toggle Bed Left Side","server":"58789d9e.7d1274","version":5,"debugenabled":false,"domain":"switch","service":"toggle","areaId":[],"deviceId":["673182d2fb6e13ccd9030cb017b0084d"],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1180,"y":500,"wires":[["34dd07f465d8c389"]]},{"id":"a2a50fb269b5697e","type":"join","z":"28fef98818596f60","name":"","mode":"auto","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1370,"y":580,"wires":[[]]},{"id":"de16c07f02115655","type":"inject","z":"28fef98818596f60","name":"9:15","props":[],"repeat":"","crontab":"15 21 * * *","once":false,"onceDelay":0.1,"topic":"","x":450,"y":580,"wires":[["781d8babde1e323a"]]},{"id":"34dd07f465d8c389","type":"api-call-service","z":"28fef98818596f60","name":"Toggle Bed Right Side","server":"58789d9e.7d1274","version":5,"debugenabled":false,"domain":"switch","service":"toggle","areaId":[],"deviceId":["35dc5847a29bf11099a14c7a1319d2cf"],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1180,"y":580,"wires":[["a2a50fb269b5697e"]]},{"id":"58789d9e.7d1274","type":"server","name":"Home Assistant","addon":true}]```