YAML tags not working in non Lovelace YAML mode

Helllo!
I’m trying to add the following statement:
!include_dir_merge_named /foo/bar

In YAML mode, it works as expected, but in non YAML mode, if I try to add it by RawEditor, i got the following error:

Unable to parse YAML: YAMLException: unknown tag !<!include_dir_merge_named> at line 81, column 84: ... templates/templates/button-card/

Is that intended? Are these tags only working on YAML mode?
Thanks!

You can only use them in yaml mode.

1 Like

Good to know! Thanks!