Hi at all,
the starter don´t work, if the machine is warm, right?
It´s not a problem of any sensor, it´s a prob of the starter himself.
The magnetic switch don´t work. Change it or repair it. Sometimes it works, when you clean the switch and put on some new grease. It´s the zylinder on the starter, inside you find a piston.
But it´s necessary to build out the starter in both cases.