Any ebike Grus here?

I have a new controller which has 3 wires in the two brake leads. My old controller had only 2 leads in the 2 brake leads. Testing my brake levers cables shows they create a closed circuit when the lever is pulled .

Testing the 3 leads in the controller cable I can easily identify the 2 leads which disconnect the power to the motor.

When I connect these 2wires to the brake levers wires and actuate a brake the motor does cut out as expected , BUT , it stays cut out till I either turn the control panel off or disconnect the battery.

The spare unused wire in the controller brake leads has no power on it but also if connected does not disconnect the motor.

Any idea why the controller stays off and a solution?