I’m sorry, if I might get that wrong, but what you want to do is use an ESP device to control your climate via IR and not via Broadlink, correct?
Than use this:
If you still want to go with the Broadlink, here is an app to make that easier:
And on top of all of this, what TCL unit are you running? Is there a possibility it can be equipped with some sort of WIFI dongle (from the manufacturer)? If so, you might want to take a broader search, chances are high someone already had it covered with an ESP component…