Alternative y-endstop switch, mounted onto 2020 profile.
Depending on your linear rail mounting, it maybe too close to the stepper motor, but you can just bend the cable connector 90 degree.
Printed without support.
The author marked this model as their own original creation.