Homing switch issue

Try and change GRBL parameter $27=5 (=1 is default)

Any change?