1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-15 06:15:47 +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) { void WiFiComponent::start_connecting(const WiFiAP &ap, bool two) {
if (ap.get_bssid().has_value()) { 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()); format_mac_address_pretty(ap.get_bssid()->data()).c_str());
} else { } 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 #ifdef ESPHOME_LOG_HAS_VERBOSE
ESP_LOGV(TAG, "Connection Params:"); ESP_LOGV(TAG, "Connection Params:");