mirror of
https://github.com/esphome/esphome.git
synced 2026-09-21 20:18:43 +00:00
[wifi] Log roam check skipped at DEBUG level for visibility
The "Roam check skipped, signal good" message was at VERBOSE level, making it invisible in normal logs. This made it unclear whether roaming checks were happening after a successful roam. Promote to DEBUG to match the "Roam scan" message level.
This commit is contained in:
@@ -2407,7 +2407,7 @@ void WiFiComponent::check_roaming_(uint32_t now) {
|
||||
// Guard: skip scan if signal is already good (no meaningful improvement possible)
|
||||
int8_t rssi = this->wifi_rssi();
|
||||
if (rssi > ROAMING_GOOD_RSSI) {
|
||||
ESP_LOGV(TAG, "Roam check skipped, signal good (%d dBm, attempt %u/%u)", rssi, this->roaming_attempts_,
|
||||
ESP_LOGD(TAG, "Roam check skipped, signal good (%d dBm, attempt %u/%u)", rssi, this->roaming_attempts_,
|
||||
ROAMING_MAX_ATTEMPTS);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user