I’m have just done the upgrade on my e-bike from mechanical to electrical and the wired de railer works with the wireless shift buttons so no need for cables
Shimano Deore XT SW-M8250-R XT Di2 shift switch, wireless, I-SpecEV direct mount, right hand
Shimano Deore XT RD-M8260 Di2 STEPS wired...