Thermostatic valves

Hi Everybody,
I am thinking about changing my radiator valves for thermostatic ones and am wondering how they can work without having a sensor at distance… since they are generaly on the radiator its self how can theu detect the ambiant room tremp??
Thanks for any tips…
Rom