v1.1.7 — Lovelace resource dedup & SVG render fix
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
idandnameattributes, 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
- Update to v1.1.7 in HACS
- Restart Home Assistant
- Hard-refresh your browser (Ctrl+Shift+R / Cmd+Shift+R)
- Open your HA LightFX card — lights should appear as draggable dots on the grid
- In Developer Tools → WebSocket, verify only one
/ha_lightfx/ha-lightfx-card.js?v=1.1.7resource is listed (no olderv=1.1.5/v=1.1.6entries)
Addresses #28 — please confirm whether lights now show on the card.