Hi, that's a reed relay. Probable that is sensing when you pedal and start the motors. The 2 small black 3 terminal components are hall sensors, they are responsible for the speed measuring. There is a magnetic disc on the axle, and these are counting the revs.
My question, is there any...