When ecobee detects indoor temperature greater than XX, turn on Midea AC.

Explore more great ways to automate Midea Air AC and ecobee