I had problems using the sensor on the Cooling fan system because it vibrate, and i cam up with these version, on x carriage, is more stable i reliable in my view.
Print in the orientation that part is design, and no support is needed.
You will need a nylon strip, and the sensor, mine has 20mm diameter if your is different you can edit the blender file. The only note is you cant change the the hole thickness because is located in the center of the X carriage belt.
i have used base design from BQ and edit it with Blender