But I never tried these settings with mappings.
E.g. my thermostats have 3 main modes. MANUAL, AUTOMATIC, BOOST.
I created a rule.
See here.
But this may also help while using mappings.