v2.0.5
v2.0.5
Highlights
v2.0.5 fixes three interconnected sky-compass problems that caused visible errors for users whose browser timezone differs from their home's, whose windows face north at high latitude, or whose sunrise/sunset markers were pinned at the edge of the FOV wedge instead of sitting at the actual horizon crossing.
Fixed
-
Timezone-aligned sun day — the 24-hour sample window is now anchored to
hass.config.time_zonevia the newstartOfDayInZone()helper insrc/lib/sun-model.ts. Previously, when the browser and home ran on different offsets, the entire sun curve, FOV wedge, and rise/set markers shifted by the difference. The sun path now always reflects the home's local day, not the browser's. -
Multiple FOV crossings drawn on the sky compass —
findFovWindow()insrc/lib/geometry.tshas been replaced withfindFovWindows(), which returns all disjoint crossing runs instead of stopping at the first one. North-facing windows at high latitude catch the sun twice in summer: once on the sunrise arc and again on the sunset arc. The sky compass insrc/components/sky-compass.tsnow draws a secondaryfov-extrawedge for each additional crossing. Supporting helpersfovRunBounds()andarcsOverlap()are also new insrc/lib/geometry.ts. The elevation chart insrc/components/elevation-chart.tsrenders multiple FOV bands, using the newfov_windowsi18n key (added in English and French). -
Sunrise/sunset marker placement —
sunriseSetAzimuths()insrc/lib/sun-model.tsnow detects actual horizon crossings: below-to-above for sunrise, above-to-below for sunset. Previously it reported the first and last above-horizon sample, which pinned the markers at the edge of the FOV wedge on windows where the sun was already up when the sample range began. Markers were also enlarged with a white stroke to improve visibility (#92, #101).
Compatibility
- Home Assistant 2024.1+
- Adaptive Cover Pro integration
v2.22.1-beta.3or newer