BLTouch Problem

I am configuring my Duet2 Wifi with a BLTouch and am having some issues. I've looked at most of the guides and troubleshooting guides with no luck.

Probe will do a self test and pass. When I run either the deploy or retract gcode nothing happens. Probe also doesn't deploy when trying to home z. PWM is plugged into Duex PWM 1

Here is the config code I am using.

; Z probe and compensation definition
;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
; IR PRobe - uncomment the following 2 lines if you have a and IR Probe, and comment out the BLTouch section below
;M558 P1 X0 Y0 Z1 ; Z probe is an IR probe and is not used for homing any axes
;G31 X0 Y30 Z2.00 P500 ; Set the zprobe height and threshold (put your own values here)

I think you have the 3-pin connector reversed in the PWM connector. AFAIR the brown wire is ground, which is the rightmost pin on the DueX PWM connector. That would explain why deploy/retract isn't working.