github Makin-Things/weather-radar-card v3.3.0
v3.3.0 — editor i18n + radar opacity + cluster fix

3 hours ago

Two new features and a bug fix on top of v3.1.2.

Added

  • Editor + runtime UI fully localized. Every label, helper, dropdown option, button, and runtime banner in the editor and card UI now resolves through HA's localize system instead of being hardcoded English. ~60 strings across the surface.
  • 11 languages supported:
    • English (source)
    • Norwegian Bokmål, Slovak — existing translations updated
    • New: German, French, Dutch, Spanish, Italian, Polish, Swedish, Portuguese-Brazilian
  • radar_opacity config option — adjust the opacity of the active radar frame (0.1–1.0, default 1.0). Lower values let more of the basemap show through. Editor exposes a slider in the Appearance section.
type: custom:weather-radar-card
radar_opacity: 0.6   # 60% opacity

Fixed

  • Markers disappeared when clustering was on (#110). The map's maxZoom bump from 10 to 16 in 3.1.2 expanded markercluster's internal cluster tree by six zoom levels, exposing a markercluster bug where a cluster's _bounds could end up undefined and crash _zoomEnd (Cannot read properties of undefined (reading 'lat')). The crash left the marker pane completely empty and clusters unclickable. Setting disableClusteringAtZoom: 11 on the cluster group caps the cluster tree depth — beyond zoom 11 markers display individually anyway.

Translations

Translations are best-effort. Native-speaker review welcome — please file an issue or PR with corrections. Strings live in src/localize/languages/<lang>.json.

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.2...v3.3.0

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

NewReleases is sending notifications on new releases.