Maybe this topic helps.
But it depends on the modes of your AC.
Normally they are:
OFF, HEAT, COOL, AUTO, heat-cool” or “0,1,2,3"
But I never tried these settings.
E.g. my thermostats have 3 main modes. MANUAL, AUTOMATIC, BOOST.
I created a rule.