github Makin-Things/weather-radar-card v3.4.0-beta2
v3.4.0-beta2 — animation polish (smooth_overlap + trail fix)

pre-release3 hours ago

Animation polish on top of 3.4.0-beta. Same fixes shipping as 3.5.0-alpha2 for users opted into the alpha channel with the new overlays.

Added

  • smooth_overlap config knob (0–1) — tunable crossfade overlap when smooth_animation: true. 0 = sequential (no brightness dip; cushion held), 0.5 = 50% overlap, 1 = fully simultaneous (default; brief mid-transition dip). Fade duration auto-calibrates so the full cycle still equals frame_delay regardless of overlap. Exposed in the editor as a 0–1 slider — handy for dialling in your preferred trade-off between cushion-hold and brightness-dip.
  • Editor mutual gating for animation timingtransition_time is disabled when Smooth Animation is on (the smooth path computes its own fade); smooth_overlap is disabled when Smooth Animation is off. Both fields stay visible at all times so the relationship between them is obvious; the disabled state signals which one is currently in effect.

Fixed

  • Trail on first cycle after editing animation settings. Changing animation settings used to leave stale CSS-transition state on the radar layers, producing a visible trail on the first cycle after the change. setConfig now does a full teardown + reinit on any structural config change. Exception: when the user pans/zooms the live map in editor mode, the back-propagated center_latitude / center_longitude / zoom_level keys are diffed and skipped — a teardown there would interrupt the user's active interaction. Direct YAML edits to those keys still move the map (via setView), guarded against re-firing as a back-prop bounce loop.

Localization

11 language files updated for the new smooth_overlap editor strings.

Testing

Please install the prerelease via HACS (toggle "Show beta versions") or by manually copying dist/weather-radar-card.js into /config/www/community/weather-radar-card/. Issues to watch for:

  • Toggle Smooth Animation on/off in the editor → no trail on the first cycle after the change.
  • Pan / zoom the live map while the editor is open → editor's Lat/Long/Zoom fields update without the radar restarting.
  • Edit center_latitude / zoom_level directly in YAML → map moves to the new view.
  • Try a few smooth_overlap values (0, 0.5, 0.75, 1) and let us know what reads best on your basemap.

Bug reports → issues.

Don't miss a new weather-radar-card release

NewReleases is sending notifications on new releases.