1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

[wifi] Allow fast_connect with multiple networks (#9947)

This commit is contained in:
GilDev
2025-07-31 05:34:49 +02:00
committed by GitHub
parent 88d8cfe6a2
commit fb379bbb88
3 changed files with 48 additions and 17 deletions

View File

@@ -265,8 +265,6 @@ def _validate(config):
networks = config.get(CONF_NETWORKS, [])
if not networks:
raise cv.Invalid("At least one network required for fast_connect!")
if len(networks) != 1:
raise cv.Invalid("Fast connect can only be used with one network!")
if CONF_USE_ADDRESS not in config:
use_address = CORE.name + config[CONF_DOMAIN]