From 9d79a98c0d8421ca4b66fb8c2779b1286aaf40a3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 2 Jan 2026 23:34:45 -1000 Subject: [PATCH] log cleanup --- esphome/components/wifi/wifi_component.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/wifi/wifi_component.cpp b/esphome/components/wifi/wifi_component.cpp index 9b8e9eb585..8ddb90ef5b 100644 --- a/esphome/components/wifi/wifi_component.cpp +++ b/esphome/components/wifi/wifi_component.cpp @@ -1993,7 +1993,7 @@ void WiFiComponent::check_roaming_(uint32_t now) { return; this->roaming_last_check_ = now; - ESP_LOGD(TAG, "Roaming: scanning for better AP (current RSSI %d dBm)", this->wifi_rssi()); + ESP_LOGD(TAG, "Roam scan (%d dBm)", this->wifi_rssi()); this->roaming_scan_active_ = true; this->wifi_scan_start_(this->passive_scan_); } @@ -2031,7 +2031,7 @@ void WiFiComponent::process_roaming_scan_() { #if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_VERBOSE format_mac_addr_upper(result.get_bssid().data(), bssid_buf); - ESP_LOGV(TAG, "Roaming: candidate %s RSSI %d dBm", bssid_buf, result.get_rssi()); + ESP_LOGV(TAG, "Roam candidate %s %d dBm", bssid_buf, result.get_rssi()); #endif // Track the best candidate @@ -2043,7 +2043,7 @@ void WiFiComponent::process_roaming_scan_() { // Check if best candidate meets minimum improvement threshold int8_t improvement = (best == nullptr) ? 0 : best->get_rssi() - current_rssi; if (improvement < ROAMING_MIN_IMPROVEMENT) { - ESP_LOGV(TAG, "Roaming: best candidate %+d dB (need +%d dB)", improvement, ROAMING_MIN_IMPROVEMENT); + ESP_LOGV(TAG, "Roam best %+d dB (need +%d)", improvement, ROAMING_MIN_IMPROVEMENT); this->release_scan_results_(); return; }