From d7310fff326764a7374e58c957606b9747a2234f Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 12 Mar 2026 13:26:44 -1000 Subject: [PATCH] [wifi] Reject EAP/WPA2 Enterprise config on unsupported platforms WPA2 Enterprise (EAP) is only implemented for ESP32 and ESP8266 but the config schema accepted it on all platforms. On RP2040 this caused a bootloop with no useful error message. Now rejects EAP config at validation time on unsupported platforms. Closes https://github.com/esphome/esphome/issues/14743 --- esphome/components/wifi/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/wifi/__init__.py b/esphome/components/wifi/__init__.py index 2808d313111..480ccd65c54 100644 --- a/esphome/components/wifi/__init__.py +++ b/esphome/components/wifi/__init__.py @@ -166,6 +166,7 @@ TTLS_PHASE_2 = { } EAP_AUTH_SCHEMA = cv.All( + cv.only_on([Platform.ESP32, Platform.ESP8266]), cv.Schema( { cv.Optional(CONF_IDENTITY): cv.string_strict,