Skip to content

v1.1.7 — Lovelace resource dedup & SVG render fix

Choose a tag to compare

@rusty4444 rusty4444 released this 15 Jun 03:27
5e1a3c1

What's new

  • Lovelace resource dedup — if multiple HA LightFX card resource entries accumulate across updates, the integration now cleans them on setup, keeping only the current versioned URL. This prevents stale card module loads that can regress frontend fixes.
  • Explicit SVG close tags — light dot and glow elements now use </circle> instead of self-closing />. This removes SVG DOM nesting issues that could cause lights to not render on the card.
  • Card control IDs — effect, colour, brightness, and speed inputs now have id and name attributes, clearing the browser console form-element warning.
  • Bump to v1.1.7 — versioned resource URL bumps so HACS forces a fresh card bundle download.

Testing

  1. Update to v1.1.7 in HACS
  2. Restart Home Assistant
  3. Hard-refresh your browser (Ctrl+Shift+R / Cmd+Shift+R)
  4. Open your HA LightFX card — lights should appear as draggable dots on the grid
  5. In Developer Tools → WebSocket, verify only one /ha_lightfx/ha-lightfx-card.js?v=1.1.7 resource is listed (no older v=1.1.5/v=1.1.6 entries)

Addresses #28 — please confirm whether lights now show on the card.