diff --git a/esphome/components/bluetooth_proxy/bluetooth_connection.cpp b/esphome/components/bluetooth_proxy/bluetooth_connection.cpp index ec60a62d1a..3c18773a5e 100644 --- a/esphome/components/bluetooth_proxy/bluetooth_connection.cpp +++ b/esphome/components/bluetooth_proxy/bluetooth_connection.cpp @@ -108,7 +108,7 @@ void BluetoothConnection::send_service_for_discovery_() { if (total_char_count == 0) { // No characteristics, just send the service response api_conn->send_message(resp, api::BluetoothGATTGetServicesResponse::MESSAGE_TYPE); - return + return; } // Reserve space and process characteristics