From 3396dfe52ab8adf9e0b8735bacbb4c1f2d5e5206 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 25 Jul 2025 16:08:22 -1000 Subject: [PATCH] cleanup --- esphome/components/bluetooth_proxy/bluetooth_connection.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/esphome/components/bluetooth_proxy/bluetooth_connection.cpp b/esphome/components/bluetooth_proxy/bluetooth_connection.cpp index 7737a249bb..d1a9a8d610 100644 --- a/esphome/components/bluetooth_proxy/bluetooth_connection.cpp +++ b/esphome/components/bluetooth_proxy/bluetooth_connection.cpp @@ -102,8 +102,6 @@ void BluetoothConnection::send_service_for_discovery_() { if (char_count_status != ESP_GATT_OK) { ESP_LOGW(TAG, "[%d] [%s] Error getting characteristic count, status=%d", this->connection_index_, this->address_str().c_str(), char_count_status); - // Send the message (we already checked api_conn is not null at the beginning) - api_conn->send_message(resp, api::BluetoothGATTGetServicesResponse::MESSAGE_TYPE); return; }