thomasloven / lovelace-state-switch

🔹Dynamically replace lovelace cards depending on occasion
MIT License
382 stars 27 forks source link

Rendering card elements #83

Open basbruss opened 2 years ago

basbruss commented 2 years ago

Hi,

Since the release after 1.9.3 the state-switch-card does not render as it is supposed to be.

This is a screenshot of my dashboard with v1.9.3 installed:

image

This is a screenshot of the same page after updating to v1.9.5:

image

Where the blank space should render the same card as on v1.9.3. It's a button-card template from Minimalist UI: https://github.com/UI-Lovelace-Minimalist/UI/blob/main/custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/popup_templates/popups/popup_media_player_infos.yaml

The Chrome dev-console shows this error:

image