What's Changed
🚀 Features
- (geometry) Opt-in affected-area mini-map for CAP alerts (#181)
Full Changelog: v3.0.3...v3.1.0
About this release
v3.1.0 is a focused, single-feature minor release. The only user-facing change is a new opt-in affected-area map for CAP alerts (only the cap_alerts integration provides this geometry):
- Enable it with the new
showGeometrytoggle (defaultfalse) — existing cards are completely unchanged. - When enabled, the alert detail panel renders the affected-area outline: the bounding-box frame draws instantly from attributes, then the full polygon overlays once it's fetched out-of-band (falling back to the frame on a cache miss).
- Set
geometryStyle: 'map'to add a raster-tile basemap behind the outline for geographic context. This is opt-in and online — it fetches map tiles and reveals the bounding box to the tile host. It defaults to the same theme-aware CARTO basemap Home Assistant's own map uses;geometryTileUrl/geometryTileAttributionoverride the source, and it falls back to the bare outline on tile failure. - CAP Alerts (
cap_alerts) only — all other providers (NWS, BoM, DWD, MeteoAlarm, PirateWeather, ECCC) supply no geometry and are unaffected.
No breaking changes and no changes to existing behavior. Other commits since v3.0.3 are housekeeping only (a FUNDING.yml update and the release chore).