Animation polish on top of
3.5.0-alpha. Same fixes shipping as3.4.0-beta2for users on the stable channel without the new overlays.
Added
smooth_overlapconfig knob (0–1) — tunable crossfade overlap whensmooth_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 equalsframe_delayregardless 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 timing —
transition_timeis disabled when Smooth Animation is on (the smooth path computes its own fade);smooth_overlapis 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.
setConfignow does a full teardown + reinit on any structural config change. Exception: when the user pans/zooms the live map in editor mode, the back-propagatedcenter_latitude/center_longitude/zoom_levelkeys are diffed and skipped — a teardown there would interrupt the user's active interaction. Direct YAML edits to those keys still move the map (viasetView), 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_leveldirectly in YAML → map moves to the new view. - Try a few
smooth_overlapvalues (0, 0.5, 0.75, 1) and let us know what reads best on your basemap.
Bug reports → issues.