1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-12 21:05:46 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
J. Nick Koston
9209dde904 Update esphome/components/wifi/wifi_component.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 14:41:53 -06:00

View File

@@ -1050,7 +1050,7 @@ void WiFiComponent::check_connecting_finished() {
this->retry_phase_ = WiFiRetryPhase::INITIAL_CONNECT;
this->num_retried_ = 0;
// Ensure next connection attempt does not inherit error state
// so when WiFi disconnects later we start fresh we don't see
// so when WiFi disconnects later we start fresh and don't see
// the first connection as a failure.
this->error_from_callback_ = false;