v3.13.1 – Fix Lovelace resource registration for HA 2026.3+
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_versionnow usesasync_add_executor_jobto avoid theblocking call to read_text inside the event loopwarning on HA 2026.3+/Python 3.14