If you’re going to be pedantic Harry then it’ll be attached to the boiler flow, rather than in it. I didn’t say the sensor would be inside the heat exchanger. The temperature relates to the circulated water. I know exactly where the sensors are on a Vaillant EcoTEC.
I'm sure you do, but your suggestion that it was measuring the heat-exchanger temperature was obviously wrong, and possibly a source of confusion for the OP.