I found it was a mess trying to intermingle lovelace-gen Jinja and Home Assistant Jinja. This allows you to specify an alternative so both can co-exist without having to use {% raw %}.
I also put in an FAQ about how to avoid some of the errors that occur in VS Code. There may be a better way, but making lovelace-gen code a "comment" seems to work easily enough.
I found it was a mess trying to intermingle lovelace-gen Jinja and Home Assistant Jinja. This allows you to specify an alternative so both can co-exist without having to use
{% raw %}
.I also put in an FAQ about how to avoid some of the errors that occur in VS Code. There may be a better way, but making lovelace-gen code a "comment" seems to work easily enough.