From 7bc8edcf3e964423982ed5b170aaa7cee34b44e9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 29 Mar 2026 15:39:04 -1000 Subject: [PATCH] fix --- esphome/core/__init__.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/esphome/core/__init__.py b/esphome/core/__init__.py index 1bb724bc87..009fef2f86 100644 --- a/esphome/core/__init__.py +++ b/esphome/core/__init__.py @@ -766,15 +766,6 @@ class EsphomeCore: def relative_piolibdeps_path(self, *path: str | Path) -> Path: return self.relative_build_path(".piolibdeps", *path) - @property - def platformio_cache_dir(self) -> str: - """Get the PlatformIO cache directory path.""" - # Check if running in Docker/HA addon with custom cache dir - if (cache_dir := os.environ.get("PLATFORMIO_CACHE_DIR")) and cache_dir.strip(): - return cache_dir - # Default PlatformIO cache location - return os.path.expanduser("~/.platformio/.cache") - @property def firmware_bin(self) -> Path: # Check if using native ESP-IDF build (--native-idf)