From a1ba64ad9bcfe52b0ab19df4a43eef9219f69690 Mon Sep 17 00:00:00 2001 From: Mischa Siekmann Date: Mon, 13 Jan 2025 08:44:35 +0100 Subject: [PATCH] Sort the list of available nodes alphabetically --- esphome/zeroconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/zeroconf.py b/esphome/zeroconf.py index 38e7c6fdd4..c1b07b7364 100644 --- a/esphome/zeroconf.py +++ b/esphome/zeroconf.py @@ -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)