From fb009f47f10894cca446caa817f8cac061bf2fcf Mon Sep 17 00:00:00 2001 From: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Date: Mon, 22 Dec 2025 14:08:04 -0500 Subject: [PATCH] Deprecate again --- esphome/core/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/esphome/core/__init__.py b/esphome/core/__init__.py index 88700476bf..4dd9eae4bb 100644 --- a/esphome/core/__init__.py +++ b/esphome/core/__init__.py @@ -798,7 +798,12 @@ class EsphomeCore: @property def using_esp_idf(self): - return self.target_platform == PLATFORM_ESP32 + _LOGGER.warning( + "CORE.using_esp_idf was deprecated in 2026.1, will be change behavior in 2026.6. " + "ESP32 Arduino builds on top of ESP-IDF, so ESP-IDF features are available in both frameworks. " + "Use CORE.is_esp32 and/or CORE.using_arduino instead." + ) + return self.target_framework == "esp-idf" @property def using_zephyr(self):