mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 11:26:39 +00:00
[wifi] Warn when eap is configured with esp32_hosted (#20011)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user