1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 08:41:59 +00:00

Update esphome/components/wifi/wifi_component.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2026-01-20 21:10:51 -10:00
committed by GitHub
parent f0c7306ad5
commit 5c0747cfe0

View File

@@ -370,7 +370,8 @@ bool WiFiComponent::ssid_was_seen_in_scan_(const std::string &ssid) const {
}
bool WiFiComponent::needs_full_scan_results_() const {
// Listeners always need full results
// Components that require full scan results (for example, scan result listeners)
// are expected to call request_wifi_scan_results(), which sets keep_scan_results_.
if (this->keep_scan_results_) {
return true;
}