v2.3.2
Highlights: The sky compass gets a full visual overhaul: photographic sun and moon markers replace plain coloured dots, the sun path is now an elevation-coloured arc of directional chevrons riding a gradient spine, and the below-horizon portion of the path is masked out entirely. The elevation chart's x-axis labels and the now-cursor are promoted to the topmost render layer so nothing paints over them. Bundle grew ~47 KB (194,949 → 242,013 bytes), entirely from the two inlined imagery data URIs.
✨ Features
-
Photographic sun and moon markers — the sky compass sun and moon dots are replaced with circular crops of real solar and lunar imagery, inlined as data URIs in
src/lib/sun-image.ts(SUN_IMAGE) andsrc/lib/moon-image.ts(MOON_IMAGE). No separate asset files; the single-file HACS bundle carries everything. The sun retains its valid-glow and night state modifiers; the moon keeps its SVG phase mask so only the illuminated fraction shows, sized to 2/3 the sun marker. (#124, #125) -
Elevation-coloured sun path with directional chevrons — the sun path arc is coloured by the sun's elevation rather than time of day: a neutral grey near the horizon warming to gold at the zenith via a sqrt ramp (reaches gold quickly, eases near the peak). The arc renders as block-arrow chevrons riding a faint gradient spine, pointing in the direction of travel. Each above-horizon run gets its own
linearGradient(keyedsunPathGradients, stroke resolved viasunPathStroke) built from elevation samples along the arc. The old time-based fade and per-sample dots are gone. (#124, #125) -
Below-horizon path masked — only above-horizon arc segments are drawn.
aboveHorizonSegmentsinsrc/lib/sun-model.tssplits the 24-hour sample array into contiguous above-horizon runs (sunPathRuns); the below-horizon stretch no longer traces around the rim. Rise and set glyphs mark the entry and exit points. (#124, #125) -
Elevation chart axis and now-cursor on top — the x-axis gridlines, time labels, current-time cursor, and sun dot are all moved to render last in
src/components/elevation-chart.ts. The FOV ribbon bars no longer paint over the time labels, and the 24:00 edge label is end-anchored so it no longer clips at the right side. (#124, #125)
📦 Install / Upgrade
Through HACS, update to v2.3.2. Restart not required for the card; reload your browser/dashboard.
HA caches ES modules aggressively. After updating, bump the ?v=2.3.2 query string on your Lovelace resource URL (/hacsfiles/adaptive-cover-pro-card/adaptive-cover-pro-card.js?v=2.3.2) to ensure browsers pick up the new bundle. A hard-refresh alone is not sufficient.
No config migration needed.
Compatibility: Home Assistant 2024.1+, Adaptive Cover Pro integration v2.22.1-beta.3 or newer.