Skip to content

v1.1.2 — Panel scrolling, snapshot detection, and color sync fixes

Choose a tag to compare

@github-actions github-actions released this 13 Mar 12:17

What's Fixed

Panel scrolling — Hub accessible on all screen sizes

The Hub panel now uses height: 100dvh instead of height: 100%. When HA's panel host has no explicit height, 100% collapsed to zero — making only the visible portion of the Hub accessible with no way to scroll. This is now fixed on desktop, mobile, and tablet.

Snapshot — "No Ultra Cards found in dashboard"

Two separate bugs caused this:

  1. Wrong dashboard scanned from sidebar — When creating a snapshot from the Hub sidebar panel, the URL isn't /lovelace/... so the dashboard path detection returned 'default' instead of the correct fallback. This caused the scanner to query the wrong dashboard and return 0 cards even with 53 present. Now correctly falls back to the default dashboard config when called from a non-lovelace URL.

  2. Sections-layout views ignored — Modern HA dashboards using the Sections layout store cards inside view.sections[n].cards, not view.cards. The stat counter only checked view.cards, so sections-layout dashboards always showed 0 Ultra Cards. Fixed to match all layout types.

Cross-device color sync — reliability improvement

_haLoaded is now only latched after a successful response from the HA API. Previously it was set before the async call completed, so a transient failure (slow connection, HA still booting) permanently blocked retries for the entire session. Colors now retry automatically on the next setHass() call for any non-404/non-auth error.


How to update

  1. Open HACS → Integrations, find Ultra Card Connect, click Update
  2. Restart Home Assistant
  3. Hard refresh your browser (Ctrl+Shift+R / Cmd+Shift+R)