v2.7.0
Highlights
v2.7.0 delivers three visible upgrades to how the card reads at a glance. The sky-compass legend now renders live SVG glyphs — the sun pulses gold when it is inside the field of view, the moon shows its actual current phase, and the window entry gets a matching arrowhead — replacing the static color swatches that gave no contextual signal. The covers bar gains a solar would-be target during a manual override, so it is always clear what the integration would have done, and the mismatch badge is suppressed when the divergence is intentional. The pipeline view rounds out the picture by showing the held position as each handler's primary position when the integration supplies one, with the solar would-be inline as secondary context.
Added
- Pipeline view held position (
src/components/decision-strip.ts,src/types.ts) — The decision-strip now renders a handler'sheld_positionas its primary position when the integration supplies it, with the solar would-be shown inline as secondary context. A strict non-null check lets 0% read as a valid held position, so older integration builds without the field render exactly as before. The display activates once the companion integration ships theheld_positionfield (integration #608). Refs #161, PR #162.
Changed
-
Interactive sky-compass legend (
src/components/sky-compass.ts,src/lib/geometry.ts) — The single- and multi-entry legends now render live SVG glyphs. The sun glyph glows gold only when the sun sits inside the field of view; the moon glyph renders the real current phase via a legend-scoped SVG mask driven bymoonPhaseShadowDx; and the window entry shows a slim arrow glyph usingarrowheadPath, matching the arrowhead added to the plotted window line. "Window normal" was renamed to "Window azimuth" (FR: "Azimut de la fenêtre"). Sun and Moon were moved to the top of the multi-entry legend. Follow-up fixes landed uniform 20 px row heights, a fixed-width icon cell so labels align, centered glyph rows, and a sun glyph sized visibly larger than the moon. Refs #157, PR #160. -
Solar target + quieter badge in covers bar (
src/components/cover-bar.ts,src/lib/cover-position.ts) — During a manual override the covers bar now labels "Target" withcoverSolarTarget— the position the integration would have sent — while the per-cover fill and number reflectcoverHeldPosition.isOverrideDivergencesuppresses the mismatch badge when the gap is intentional (a genuine reach-failure still shows it), and the badge column is reserved so toggling it does not reflow the bar.displayTarget,coverActualPosition, andmanualOverrideActivefrom the new shared modulesrc/lib/cover-position.tsare reused by both the bar and the compass. Refs #158, PR #159.
Compatibility
- Home Assistant 2024.1+
- Adaptive Cover Pro integration v2.22.1-beta.3 or newer for full functionality
- The pipeline held-position display activates only with a companion integration build that exposes the
held_positionfield (integration #608); the card renders gracefully without it - No config migration needed
Install / Upgrade
Through HACS, update to v2.7.0. A browser restart is not required.
HA caches ES modules aggressively. After updating, bump the ?v=2.7.0 query string on your Lovelace resource URL (/hacsfiles/adaptive-cover-pro-card/adaptive-cover-pro-card.js?v=2.7.0) to ensure browsers pick up the new bundle. A hard-refresh alone is not sufficient.