Skip to content

v2.0.3

Choose a tag to compare

@github-actions github-actions released this 29 May 14:51

v2.0.3

Highlights

v2.0.3 is a small follow-up patch to v2.0.2. The active-arc fixes in v2.0.1 and v2.0.2 corrected how the sky compass picks and clamps the sun's active sweep, but the static FOV wedge was still drawn as the full azimuth envelope regardless of elevation bounds. When the integration clips the field of view by elevation, the static wedge now stops at those bounds rather than projecting an unclipped arc. The sky compass also renders a dashed FOV underlay when the active arc does not fully enclose the field of view, so the full configured window range remains visible even during partial overlap. The new elevationGatedFovBounds helper in src/lib/geometry.ts centralises this clipping logic; src/components/sky-compass.ts calls it directly.

Added

  • Elevation-gated FOV arc — the static FOV wedge on the sky compass is now clipped to the configured elevation bounds via the new elevationGatedFovBounds helper in src/lib/geometry.ts. Previously the wedge traced the full azimuth envelope even when elevation gating narrowed the active range; it now stops at those bounds, keeping the compass consistent with the active arc behaviour introduced in v2.0.1/v2.0.2 (#92, #93).

  • Static FOV underlaysrc/components/sky-compass.ts renders a dashed wedge underlay when the active arc does not fully enclose the field of view, preserving visibility of the full configured window range during partial-overlap conditions (#92, #93).

  • Regression test suite for N-wrap arc clamp — 79 new sky-compass and geometry test cases cover north-wrap edge cases and interior elevation-clipped ranges. An internal developer mock-HA harness was also added to support these tests (#89, #95).

Compatibility

  • Home Assistant 2024.1+
  • Adaptive Cover Pro integration v2.22.1-beta.3 or newer