I've told this story before..'About replacing bikes'... Last July when I bought my Trek Powerfly7 E-mtb, the with Thumb Switch was damaged during shipment. The controller was fine. The part was back ordered from the distributor. Trek had none. ( Bosch uses a third party Dist. )
I suggested my LBS buy the part, ($50 ) from a stocking dealer and call it a day. Trek said no, It's a new bike, you shouldn't have to be swapping parts. They immediately shipped another Powerfly 7 from Waterloo Wisconsin to CT. I was riding 4 days later. It doesn't get much better then that.