1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-18 01:33:51 +01:00
This commit is contained in:
J. Nick Koston
2025-10-13 14:50:55 -10:00
parent 7b5a86e4df
commit fa830cfd39

View File

@@ -218,7 +218,7 @@ bool ImprovSerialComponent::parse_improv_payload_(improv::ImprovCommand &command
}
case improv::GET_WIFI_NETWORKS: {
std::vector<std::string> networks;
auto results = wifi::global_wifi_component->get_scan_result();
const auto &results = wifi::global_wifi_component->get_scan_result();
for (auto &scan : results) {
if (scan.get_is_hidden())
continue;