Protection against disconnection of sensor wires