You already mentioned you had this iPad Pro repaired and you didn't mention ANYTHING about Apple.
We are all just users, here and not Apple.
Apple is NOT here.
AND I am NOT assuming Apple did this repair.
Apple Stores, in most cases, DO NOT DO repairs on iPads.
To expedite fast customer service, Apple and Apple Stores usually do in or out-of-warranty iPad replacements.
If Apple Stores or you sent your iPad into Apple in California, for a repair, they would have actually sent you a replacement unit, in lieu of an actual screen repair..
I do not believe that Apple did your repair as Apple or their repair/refurbishment subcontractors would have been able to fix your Home button correctly and got it to work again, no problems.
You can contact Apple and see what they will do, or not do, for what seems to be a non-Apple authorised third party repair of that iPad.
Contacting/reaching out to Apple Product support and services.
Tap on the first link below and scroll down some to get to the Apple Product Support section and phone numbers for your location/region.
https://www.apple.com/contact/
OR
https://support.apple.com/en-us/HT201232
If Apple asks you to send that iPad into Apple headquarters for repair/replacement and they determine it was already tampered with by some other non-authorised repair shop, the options are they will not honor any AppleCare warranties and they will give you the option to purchase another new iPad Pro that will cost you the out-of-warranty price of 60% of that iPad Pro’s original purchase price.
Since we are all just users here in the Apple product support communities, no one here can help with this issue you created.
Once again, Best of Luck to You!