Skip to content

v3.13.1 – Fix Lovelace resource registration for HA 2026.3+

Choose a tag to compare

@FX6W9WZK FX6W9WZK released this 17 Mar 14:22

Fix

Audac cards now properly register as Lovelace resources.

Root cause

In HA 2026.3, the Lovelace data structure changed from a dict to an object with attributes. The old code checked isinstance(lovelace_data, dict) which always returned False, so the resource collection was never found and the cards were never registered.

Fix

Rewrote _register_lovelace_resource to use hasattr(ll_data, "resources") and attribute access (ll_data.resources) — matching the pattern that works in other integrations.

Also fixed

  • _read_card_version now uses async_add_executor_job to avoid the blocking call to read_text inside the event loop warning on HA 2026.3+/Python 3.14