Controlling thermostat with custom sensors via esp32

Attempting to control relay for zone control using Xiaomi temp sensors thru esphome integration. i use a Bosch CT200 thermostat to control the boiler. Does someone have a solution to toggle the thermostat into heating mode when the temp sensors are below certain temp? I only need the system running for the water to get to my underfloor system Thanks in advance