From 83e4a08c9831b60dfe8a07f5f6872cc0e3b0906d Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Sun, 16 Jun 2024 22:19:30 +0200 Subject: [PATCH] fix: do not assign routes after adding an association to a LR node --- packages/zwave-js/src/lib/controller/Controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/zwave-js/src/lib/controller/Controller.ts b/packages/zwave-js/src/lib/controller/Controller.ts index afe482fa49d4..40ffd099944f 100644 --- a/packages/zwave-js/src/lib/controller/Controller.ts +++ b/packages/zwave-js/src/lib/controller/Controller.ts @@ -5852,6 +5852,8 @@ ${associatedNodes.join(", ")}`, destinations, ); + if (isLongRangeNodeId(source.nodeId)) return; + // Nodes need a return route to be able to send commands to other nodes const destinationNodeIDs = distinct( destinations.map((d) => d.nodeId),