aboutsummaryrefslogtreecommitdiffhomepage
path: root/components/wifi/wifi_component.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'components/wifi/wifi_component.cpp')
-rw-r--r--components/wifi/wifi_component.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/wifi/wifi_component.cpp b/components/wifi/wifi_component.cpp
index 1ec4541..221b025 100644
--- a/components/wifi/wifi_component.cpp
+++ b/components/wifi/wifi_component.cpp
@@ -67,6 +67,9 @@ void WiFiComponent::setup() {
// tells ESPHome yaml file boot routine that WiFi credentials were successfully loaded
loaded_creds = true;
+
+ // always use fast connect for saved credentials
+ this->set_fast_connect(true);
}
// tells ESPHome yaml file boot routine that an attempt was made to load credentials