mirror of
https://github.com/esphome/esphome.git
synced 2025-11-17 07:15:48 +00:00
wip
This commit is contained in:
@@ -970,10 +970,8 @@ void WiFiComponent::retry_connect() {
|
|||||||
this->selected_sta_index_ = 0;
|
this->selected_sta_index_ = 0;
|
||||||
this->set_scan_result_index_and_reset_retries_(0);
|
this->set_scan_result_index_and_reset_retries_(0);
|
||||||
this->retry_hidden_ = false;
|
this->retry_hidden_ = false;
|
||||||
// Skip the single connection point below - need to scan first
|
// Start scanning immediately - no need to wait since we're just switching modes
|
||||||
// State will transition to COOLDOWN, then SCANNING will be triggered automatically
|
this->start_scanning();
|
||||||
this->state_ = WIFI_COMPONENT_STATE_COOLDOWN;
|
|
||||||
this->action_started_ = millis();
|
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
// Try next configured network
|
// Try next configured network
|
||||||
|
|||||||
Reference in New Issue
Block a user