Network map legend should not use "Unconnected" when device route information isn't known #3562
Closed
3 tasks done
Labels
bug
Something isn't working
Checklist
Deploy method
Docker
Z-Wave JS UI version
9.8.1.04f1c76
ZwaveJS version
12.4.3
Describe the bug
The network map legend has a case for "Unconnected":
But that really just means the node doesn't have any known route information:
zwave-js-ui/src/components/custom/ZwaveGraph.vue
Lines 948 to 955 in 8906358
"Unconnected" gives the impression that the device is not "connected" to the Z-Wave network, but since it really means there's no known routes, it should say that instead. This can be common for battery devices where the route isn't known until the controller sends a command and then obtains the route info, and route information is not persisted in the cache. Thus it is confusing because these battery devices can be reporting info as normal, but the map suggests something is wrong.
I'd recommend using "Unknown" or something similar, like that edge does.
To Reproduce
Not sure. Probably wipe Z-Wave JS cache and restart ZUI, route info should be unavailable for battery devices.
Expected behavior
Something not as confusing as "Unconnected".
Additional context
No response
The text was updated successfully, but these errors were encountered: