1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-16 14:55:50 +00:00
This commit is contained in:
J. Nick Koston
2025-11-10 13:30:36 -06:00
parent 5a67d2b20b
commit 8d284ea90c

View File

@@ -202,7 +202,8 @@ def validate_variant(_):
def _apply_min_auth_mode_default(config):
"""Apply platform-specific default for min_auth_mode and warn ESP8266 users."""
if CONF_MIN_AUTH_MODE not in config:
# Only apply defaults for platforms that support min_auth_mode
if CONF_MIN_AUTH_MODE not in config and (CORE.is_esp8266 or CORE.is_esp32):
if CORE.is_esp8266:
_LOGGER.warning(
"The minimum WiFi authentication mode (min_auth_mode) is not set. "