Since I've mounted 2 spools on my printer for fast end easy change I created a model to attach the filament sensor - still flexible - in the center.
If you also want a secondary spool, check out my other model: https://www.printables.com/de/model/247270-ender-3-s1-better-secondary-spool-holder
All you need is an M3x10 screw and a washer. Disassemble the original attachment and use the screws and spacer to mount it to the filament holder. Use the M3x10 and the washer to mount it to the metal backplate of the sensor. The screw should be exactly the right length to hit against the back of the metal plate and still allow the sensor to move freely.
I printed mine in PETG with 15% infill, 0,2mm resolution and 0,4mm line width - no supports required.
The author marked this model as their own original creation.