github ReikanYsora/Helios v1.8.2-beta.0
v1.8.2-beta.0: chrome simplification, pose persistence, CSS audit (#166-#170)

latest release: v1.8.2-beta.6
pre-releaseone hour ago

First beta of v1.8.2. Closes the alpha cycle by tightening the on-card chrome in preparation for the upcoming HA Energy integration: fewer chips on screen, the camera pose actually sticks across reloads, the editor surface area shrinks, and a CSS audit pass aligns the styling on HA's design tokens so the card flips polarity cleanly with the host theme.

Camera pose + lock state persistent across reload (#166)

The lock chip introduced in alpha.13 wrote the bearing and pitch under camera-bearing / camera-pitch, but the engine reads camera-bearing-deg / camera-pitch-deg on init. The mismatch silently dropped the saved pose on every page reload. The lock click handler now writes the -deg keys, so locking + reloading restores the exact bearing, pitch and lock state.

Top-left chrome simplified (#167)

The date / time chip and its scrub-mode "back to live" button are gone.

  • The date is promoted to the scrub tooltip (now shows date + time + readings).
  • The tooltip pins itself at the scrub cursor when the user is not hovering, so the moment selected on the timeline stays labeled.
  • The back-to-live button moves to a small scrub-blue tab on the time-bar that swaps side based on the scrub position: cursor in the right half, tab on the LEFT; cursor in the left half, tab on the RIGHT. The two never collide.

Overlay layout restored (#168)

The camera lock chip moves to the top-LEFT rail (replacing the deleted clock chip) and the three view-mode toggles (default layer, LiDAR view, shading dome) move back to the top-RIGHT rail. The middle-right rail introduced in alpha.13 is gone.

Timeline day-strip tightened for phone widths (#169)

The day-strip cells at the bottom of the timeline still overflowed on narrow phones. Density tightens:

  • font-size: clamp(6px, 6.5cqw, 9px) -> clamp(6px, 5.5cqw, 8px)
  • Inline gap 2 px -> 1 px
  • Cell padding 0 2px -> 0 1px
  • · separator margin 4 px -> 2 px
  • letter-spacing 0.2 px -> 0

Hierarchy (bold date, lighter italic forecast kWh) is unchanged.

Display radius locked at 300 m (#170)

Past 300 m the basemap + LiDAR fetch and the per-frame projection start to chug on mid-range phones, and the home cluster stops reading as "near home" anyway. The editor slider is removed, the engine returns the constant directly, and the two i18n keys (displayRadius + displayRadiusHint) are dropped from every locale.

CSS audit pass

Stylesheet aligned on HA design tokens:

  • Dead CSS purged: .lidar-view-toggle-btn / .lidar-view-chip family (the LiDAR toggle has been part of the .mode-bar radio group for several releases) and its dark-theme override.
  • Token rename: --text-primary-color was a typo for --text-on-primary-color. Every consumer (.mode-bar-seg.is-on, .camera-lock-btn.is-on, .tb-back-to-live) now uses the correct token. The #ffffff fallback masked the typo so the visual output is unchanged.
  • Hard-coded dark plate routed through tokens: .detail-close-btn, .dash-card, .pv-home-leader-bead, .battery-leader-bead, .solar-svg .solar-ray-bead, .dash-today-chart-hover-dot now consume var(--card-background-color) / var(--primary-text-color) / var(--divider-color) with the original hex as fallback.
  • Missing fallbacks added on every var(--primary-color), var(--dark-primary-color), var(--darker-primary-color) occurrence so a community theme that does not redefine the brand-blue tokens still gets HA's defaults.

Net result: dist/helios.js drops from 2,232.84 kB to 2,217.48 kB (~7 KB gzipped saved).

Don't miss a new Helios release

NewReleases is sending notifications on new releases.