DBuit / Homekit-panel-card

Homekit panel card for home assistant
MIT License
304 stars 54 forks source link

Using lovelace_gen not possible? #48

Closed kaosmagix closed 4 years ago

kaosmagix commented 4 years ago

I love your plugin. To minimize repeats in the yaml code, I tried to use the custom lovelace_gen integration https://github.com/thomasloven/hass-lovelace_gen. However this seems to clash with the rules segment in your card. I guess it is related to your rules also using {% / %}. I tried to put the rules within quotes, this removes the lovelace_gen error, but also doesn't show the rules anymore.

Do you know how this can be avoided?

kaosmagix commented 4 years ago

Never mind, I found the solution in the lovelace_gen documentation: {% raw %}{% endraw %}.