PiotrMachowski / Home-Assistant-Lovelace-HTML-Jinja2-Template-card

This card displays provided Jinja2 template as an HTML content of a card. It uses exactly the same engine as Home Assistant in Developer tools.
MIT License
68 stars 10 forks source link

catch invalid templates #1

Open foxsam21 opened 4 years ago

foxsam21 commented 4 years ago

As it is now if a template does not render properly the whole card is blank. This makes it difficult to realise the problem. If it would return an error for that template but still render the rest of the html it would be clear that the problem is in the template not in the card. If not at least some kind of error that there is a template problem but its loading.