[wifi] Warn when eap is configured with esp32_hosted (#20011)

This commit is contained in:
Jonathan Swoboda
2026-10-02 09:38:20 -04:00
committed by GitHub
parent 0c0015ef88
commit a27c73b44e
+7
View File
@@ -368,6 +368,13 @@ def final_validate(config):
"The AP will not be usable for configuration or monitoring. "
"Add 'captive_portal:' or 'web_server:' to your configuration."
)
if "esp32_hosted" in full_config and any(
CONF_EAP in net for net in config.get(CONF_NETWORKS, [])
):
_LOGGER.warning(
"WPA2 Enterprise ('eap:') is not supported by the esp32_hosted coprocessor "
"firmware ESPHome provides"
)
def _consume_wifi_sockets(config: ConfigType) -> ConfigType: