1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-15 22:35:46 +00:00
This commit is contained in:
J. Nick Koston
2025-11-09 09:23:52 -06:00
parent c754b0f71d
commit b63c799ad9

View File

@@ -408,10 +408,10 @@ void WiFiComponent::save_wifi_sta(const std::string &ssid, const std::string &pa
void WiFiComponent::start_connecting(const WiFiAP &ap, bool two) {
if (ap.get_bssid().has_value()) {
ESP_LOGI(TAG, "Connecting to '%s' (%s)", ap.get_ssid().c_str(),
ESP_LOGI(TAG, "Connecting to " LOG_SECRET("'%s' (%s)"), ap.get_ssid().c_str(),
format_mac_address_pretty(ap.get_bssid()->data()).c_str());
} else {
ESP_LOGI(TAG, "Connecting to '%s'", ap.get_ssid().c_str());
ESP_LOGI(TAG, "Connecting to " LOG_SECRET("'%s'"), ap.get_ssid().c_str());
}
#ifdef ESPHOME_LOG_HAS_VERBOSE
ESP_LOGV(TAG, "Connection Params:");