I had the same issue. I sawed the plastic ending on where the axis was broken and used a steel hex driver near the same dimensions and sawed it for perfect fit in the rotary sensor. Then drilled the wheel on the broken axis and inserted the cutter metal hex part into it and secured it with super glue. It’s now stronger than factory original. See pictures for clarity
View attachment 956578