From 4d35f094beadad6122820cc4e34b0762122f5e9d Mon Sep 17 00:00:00 2001 From: adamksmith Date: Sat, 9 May 2026 19:31:01 +0000 Subject: [PATCH] Replace deprecated cv.only_with_esp_idf with cv.only_with_framework --- components/grub_boot_switch/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/grub_boot_switch/__init__.py b/components/grub_boot_switch/__init__.py index 28ea321..c1356a4 100644 --- a/components/grub_boot_switch/__init__.py +++ b/components/grub_boot_switch/__init__.py @@ -63,7 +63,7 @@ CONFIG_SCHEMA = cv.All( cv.Optional(CONF_TARGETS, default={}): TARGETS_SCHEMA, } ).extend(cv.COMPONENT_SCHEMA), - cv.only_with_esp_idf, + cv.only_with_framework("esp-idf"), cv.only_on_esp32, )