diff --git a/src/components/custom/ZwaveGraph.vue b/src/components/custom/ZwaveGraph.vue index 0fe025172d6..2b28a2610da 100644 --- a/src/components/custom/ZwaveGraph.vue +++ b/src/components/custom/ZwaveGraph.vue @@ -945,7 +945,14 @@ export default { } } }, - parseRouteStats(edges, controllerId, node, route, routeKind) { + parseRouteStats( + edges, + controllerId, + node, + route, + routeKind, + forceShow = false, + ) { if (!route) { if (routeKind !== RouteKind.NLWR) { // unknown route @@ -957,7 +964,8 @@ export default { const isReturn = routeKind >= 20 // tells if this route should be shown in overview - const showInOverview = routeKind !== RouteKind.NLWR && !isReturn + const showInOverview = + forceShow || (routeKind !== RouteKind.NLWR && !isReturn) const { repeaters, repeaterRSSI, rssi, routeFailedBetween } = route @@ -1196,6 +1204,7 @@ export default { entity, node.statistics?.nlwr, RouteKind.NLWR, + !node.statistics?.lwr, ) if (node.customSUCReturnRoutes) {