Skip to content

Commit

Permalink
fix: do not assign routes after adding an association to a LR node
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Jun 16, 2024
1 parent 3e5be74 commit 83e4a08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/zwave-js/src/lib/controller/Controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 83e4a08

Please sign in to comment.