github Makin-Things/weather-radar-card v3.1.1
v3.1.1 — HA theme footer + cluster polish

10 hours ago

Patch release on top of v3.1.0. Polish for the multi-marker overhaul and a small theming refactor.

Fixed

  • Home cluster badge counts only non-home markers. A cluster of home + 3 others now shows 3 instead of 4. Clusters that contain only home markers render the home icon with no badge. The home marker is still part of the spider — tap to expand.

Changed

  • Footer / progress bar / links use HA theme variables (--card-background-color, --primary-text-color, --primary-color). Custom HA themes are picked up automatically — the previous hard-coded two-tone scheme is gone.
  • map_style: auto follows hass.themes.darkMode — set HA dark mode directly or have HA follow the browser; the map matches either way. Falls back to OS prefers-color-scheme only if HA hasn't exposed a value yet. Map rebuilds automatically when the flag flips.
  • Scale-control dark styling now keys on map style (not UI theme) — fixes a visual mismatch when a Light map met a dark UI.

Build / release

  • dist/weather-radar-card.js.gz is no longer tracked on feature branches (it was conflicting on every PR). Master CI rebuilds it on every push, and the release workflow attaches both .js and .gz as release assets so HACS always overwrites any stale .gz on update.

Upgrading from 2.x

3.x is a complete rewrite — see the README's What's New section for the breaking changes (bundled Leaflet, removed iframe, marker config). When upgrading, delete the old standalone Leaflet files from www/community/weather-radar-card/.

Full changelog: v3.1.0...v3.1.1

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

NewReleases is sending notifications on new releases.