From 3ff9f3f2af690566beef1b3aa197f1482df1bcc7 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 ee2ed5eeca..17493df760 100644 --- a/esphome/platformio/prefetch.py +++ b/esphome/platformio/prefetch.py @@ -423,7 +423,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] = []