Hello, I have a drill bosch csb 550-2 that has a short diode by 255 at the input, the diode is inside the switch, first it has a 0.15uf x2 MKT capacitor in parallel with the phase and neutral, then it comes out of a capacitor pin a diode in series with the phase, that is to say a capacitor pin goes to the anode of the diode and the cathode to one end of a stator coil, I would like to know what function that diode has, I thought to put a diode 1N5408 of 1000v 3A since I don't have the BY255 which is 1300V 3A, I upload a small scheme so you can see it better, thanks.
Greetings