From 3f65f5c12c4bd24558d668d9628e3743552cd402 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 27 Aug 2026 15:26:29 -0500 Subject: [PATCH] Use the computed name for download candidates too --- esphome/platformio/prefetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/platformio/prefetch.py b/esphome/platformio/prefetch.py index 586ccbe220..2b6655a3f8 100644 --- a/esphome/platformio/prefetch.py +++ b/esphome/platformio/prefetch.py @@ -406,7 +406,7 @@ def _uri_jobs( if str(dl_path) in seen: continue # another spec already claimed this .part seen.add(str(dl_path)) - candidates.append((spec.name, url, dl_path, spec)) + candidates.append((name, url, dl_path, spec)) errors: list[str] = []