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_opacityconfig option — adjust the opacity of the active radar frame (0.1–1.0, default1.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% opacityFixed
- Markers disappeared when clustering was on (#110). The map's
maxZoombump 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_boundscould end up undefined and crash_zoomEnd(Cannot read properties of undefined (reading 'lat')). The crash left the marker pane completely empty and clusters unclickable. SettingdisableClusteringAtZoom: 11on 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