Alpha bringing the grid backfill resilience pass and four UI polish fixes on top of the v1.8.3-alpha.0 stat_rate alignment.
Grid backfill resilience (closes #173, #174, #175)
- The history backfill's raw arm is now wrapped in
.catch(() => null)symmetrically with the LTS arm. A single transient failure (recorder timeout, WS glitch, custom sensor without state_class) no longer wipes both arms viaPromise.allrejection; whichever arm returned data populates the buffer. WsTimeoutError on either arm arms the cooldown gate the same way as before. readSlotnow records the sample BEFORE the per-unit derivation so the scrub buffer is populated for power-native sensors too. Previously therecordCumulativeSamplecall sat inside the kWh branch only, leaving the scrub buffer empty when the user wired aW/kW/MWsensor ongrid-import-entityorgrid-export-entity.GRID_LTS_WINDOW_MSextended from 24 hours to 5 days, with the matchingGRID_SAMPLE_WINDOW_MSretention bump. Scrub coverage on grid chips returns to a 5-day past window (LTS bucket queries hit HA's pre-aggregatedstatistics_short_termtable, near-free on the recorder regardless of source frequency).
UI polish (closes #176, #177, #178, #179)
- Chip cluster gains a dedicated
_clusterLiftScale()(max 2.4x vs the horizontal_heliosScale()1.6x), so on fullscreen / kiosk canvases the chip-to-home leader length grows faster than the horizontal chip spread. The home stays visually anchored in the lower half of the scene instead of pinching up next to the chip cluster. - Sun arc max ramp drops from 3.0x to 2.2x. The arc no longer overshoots the chip cluster on a 1500 px-wide kiosk canvas.
- Sun disc + halo now consume the sun-arc scale via a new
getSunArcScale()public engine method, so the disc keeps the same fraction of the arc length regardless of canvas size. No more tiny dot on a gigantic curve. - Mode-bar handlers (Layer / LiDAR / Dome) drop the scrub state before swapping mode, the scrub tooltip no longer floats orphaned at the bottom of the card after the timeline shifts.
At standard Lovelace grid sizes (<= 600 px wide), all the scale ramps stay at 1.0 and the geometry is identical to v1.8.3-alpha.0, no regression on regular dashboards.
Install
This is an alpha. Install via HACS with the "Show beta versions" toggle, or download helios.js from the assets and place it under /config/www/community/helios/.