Skip to content

v0.7.1: dashboard race-condition fix

Choose a tag to compare

@eyalgal eyalgal released this 09 May 23:40

v0.7.1 (prerelease)

A small follow-up to v0.7.0 with one fix and one polish.

Fix: dashboard race that showed "Custom element doesn't exist: album-slideshow-card"

After a Home Assistant restart, dashboards sometimes rendered before the card script had finished loading and you'd see the dreaded Custom element doesn't exist: album-slideshow-card until you hard-refreshed. The integration now registers the card as a Lovelace resource (not just an extra <script> tag) on storage-mode dashboards, so it loads as part of the Lovelace bootstrap before any custom card renders. Stale ?v=... versions of the resource are auto-cleaned on upgrade. YAML-mode dashboards still fall back to the previous behaviour.

Polish

  • Downloads badge added to the README.