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

Bug: `ha-card` theme is lost after refresh #21

Open mcattle opened 1 year ago

mcattle commented 1 year ago

I've got the following card set up for my Pi-Hole, using the custom:html-template-card:

image

However, when the sensors update and the card refreshes, the card loses the glassy background (provided by the current Lovelace theme), and defaults to a white background:

image

Ideally, I'd like to keep the themed background. None of the other custom cards I use exhibit this behavior.