Ha. I just had that problem last week. It was not this seller, but it was this sensor, Worked both backward /forward. Ran my bike into the wall putting it away. Blue, yellow, red wires with no ID. POS. Back of mount has 1 screw and three alignment studs in a straight line. Lot of amazon sellers have it. POS.
so have you fixed it if so how did you do it
https://www.amazon.com/Assist-Electric-Bicycle-Assistant-Magnets/dp/B0783PPYKX/ref=sr_1_28_sspa?crid=2WC2DU59ND5QF&keywords=pedal%2Bassist%2Bsensor&qid=1640498516&sprefix=pedal%2Bassist%2Bsensor%2Caps%2C167&sr=8-28-spons&smid=AVUYM0ARNYWYA&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyM1MySkRPMlRDSkFIJmVuY3J5cHRlZElkPUEwNjk0MjM2M1JVNkVRNlNQVVlESyZlbmNyeXB0ZWRBZElkPUEwODQ1Mjg1MVFNU0oxVDdUN1pKMCZ3aWRnZXROYW1lPXNwX210ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU&th=1
Never had a problem with the orange ones, except they take a month to come from China.
https://www.ebay.com/itm/142710094324?hash=item213a2f39f4:g:XqYAAOSwlY1ZJ~mU
Maybe try one of the integrated ones.