From acb22ed286acc947717b9e8457c2c2c329f2d0fc Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 20 Jan 2026 20:39:30 -1000 Subject: [PATCH] tweaks --- esphome/components/wifi/wifi_component.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esphome/components/wifi/wifi_component.cpp b/esphome/components/wifi/wifi_component.cpp index 0e5a2022b3..002c11be5f 100644 --- a/esphome/components/wifi/wifi_component.cpp +++ b/esphome/components/wifi/wifi_component.cpp @@ -405,6 +405,9 @@ bool WiFiComponent::matches_configured_ssid_(const char *ssid) const { return false; } for (const auto &sta : this->sta_) { + // Skip hidden network configs (they don't appear in normal scans) + // For BSSID-only configs (empty SSID), match all networks since we can't filter by SSID + // Otherwise, match only the specific configured SSID if (!sta.get_hidden() && (sta.get_ssid().empty() || sta.get_ssid() == ssid)) { return true; }