Switch Template: use a template for the "Display Name" as well

I would love to be able to template the “Name (Optional)” field in my template switches, the same way we can template the icon.

There are two Lovelace template options available to do this. One JavaScript based one jinja.

Thanks! could you point me in the direction of the documentation?

Appreciate it!