When ecobee Thermostat is set to away, turn off Midea Air Purifier.
This trigger fires every time your ecobee thermostat and Room Sensors change to Smart Home or Smart Away comfort profiles.
This action will turn on/off the air purifier.
Explore more great ways to automate
MSmartHome Air Purifier and ecobee