1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-18 12:05:41 +00:00

Sort the list of available nodes alphabetically

This commit is contained in:
Mischa Siekmann 2025-01-13 08:44:35 +01:00
parent 6adc323f66
commit a1ba64ad9b

View File

@ -253,4 +253,4 @@ def get_mac_suffix_nodes(node_name: str) -> list[str]:
except KeyboardInterrupt:
loop.run_until_complete(runner.async_close())
return runner.found_nodes
return sorted(runner.found_nodes)