From 8b7bb4ecef020dff968c4372100a73c9d8166301 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 1 Jan 2026 14:59:19 -1000 Subject: [PATCH] wip --- esphome/components/wifi/wifi_component.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/esphome/components/wifi/wifi_component.cpp b/esphome/components/wifi/wifi_component.cpp index 0fa998570b..3d8f888d53 100644 --- a/esphome/components/wifi/wifi_component.cpp +++ b/esphome/components/wifi/wifi_component.cpp @@ -1640,10 +1640,8 @@ void WiFiComponent::advance_to_next_target_or_increment_retry_() { } void WiFiComponent::retry_connect() { - // Reset roaming state if this wasn't a roaming-initiated disconnect - if (!this->roaming_in_progress_) { - this->clear_roaming_state_(); - } + // Reset roaming state when entering retry flow + this->clear_roaming_state_(); this->log_and_adjust_priority_for_failed_connect_();