Pairing two Zigbee devices

I have a Zigbee smart radiator valve and a Zigbee temperature sensor. How can I connect the temperature sensor to the radiator valve, so that the temperature setting of the radiator valve is controlled by the temperature sensor.

I don’t know if this is exactly what you are looking for but you may want to check out the following blueprint: