How to use jinja template in automation?

I do. ot think device actions support templates. You should avoid device actions for several other reasons too.

Better to use a service climate.set_preset_mode instead, service calls always support templates.

1 Like