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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user