The controls depend on your imagination really. To send the temperature from the external sensor, I used a ready-made automation based on the blueprint
ZHA, Zigbee2MQTT - Danfoss Ally send external temperature to TRV - Blueprints Exchange - Home Assistant Community (home-assistant.io)
If the temperature from the sensor is being sent, check the entities number.
0x50325ffffe57226_external_measured_room_sensor.
The rest are automations, which can be very extensive. There’s a lot in the above thread. In the screenshots, an example of the control panel of my thermostat where the head switches to the appropriate temperatures depending on the time, the open window or whether someone is at home.
