“Stoke expressed an interest in Sam about a week ago and that built considerably," said Dyche.
“Then you have to factor in the business side of the club. We know there is an ongoing business model here and it is tricky to work with, but it is there.
“It's a challenge and I've always said that; to find the right amount to stretch, the right time to hold back and the right deals that have to be done, regardless of timings.
“They have to be done because they are the right deals and this one is, financially, a very good deal for the club."
Dyche added: “Stoke's interest quickly got to a level where it was serious, and we also had to look at the player too.
“Sam has been an absolutely fantastic servant, not just as a player but as a person around these parts.
“When players get to that level, you have to factor them in, so I had a good chat with Sam on Wednesday night.
“There was a bit of frustration that he hasn't played as much as he'd like and this presents a fresh challenge, so with all that factored in it became a win-win deal.
“We feel we've got a good deal financially for the business and Sam has got a fresh chance somewhere different, which he wanted in the end.
“I think in the end it's one of those deals that is quite balanced and worked out in a pretty simple way, and that's rare.
“Sam has earned the right to be remembered here for a long time because he's done brilliant former, this club and himself.
“I think he's a become far better player each year he's been here and I'm sure the Burnley fans will always hold him in high regard."