Skip to content

Releases

Swiss Public Alerts 1.9.0

Choose a tag to compare

@prusuino prusuino released this 24 Nov 16:15
  • Hazard maps for cards. The integration now offers the danger level of every region for forest fire, flood and drought to dashboard cards. The Switzerland card of Swiss Meteo (1.9.0 or newer) shows them as layers. The data is the open geodata of the Federal Office for the Environment FOEN; it is read only when a card asks, kept for half an hour and then only transferred again when it changed (0.1 to 1 MB per map).
  • No new entities and nothing to configure.

Swiss Public Alerts 1.8.2

Choose a tag to compare

@prusuino prusuino released this 24 Nov 11:26
  • Diagnostics without distances. The diagnostics download no longer contains distances: the state of the map markers (their distance from the home zone), distance sensors and every distance field are redacted, like the coordinates already were. The points they lead to are public, so a handful of distances was enough to work out where they were measured from. If you posted a diagnostics file publicly, consider removing it.

Swiss Public Alerts 1.8.1

Choose a tag to compare

@prusuino prusuino released this 23 Nov 20:35
  • Fixed: an alert published during a feed outage did not fire the triggers. While Alertswiss cannot be reached the entities are unavailable, and Home Assistant ignores every change out of "unavailable". An alert for the home location that appeared during such an outage switched the sensor from unavailable to on, and Alert for the home location started stayed silent; Alert count increased and cleared had the same gap. The triggers now compare with the state before the outage: a new alert fires, one that was already active does not fire a second time, and cleared fires only when there was an alert before.

Swiss Public Alerts 1.8.0

Choose a tag to compare

@prusuino prusuino released this 23 Nov 19:22

Checked against the live Alertswiss feed of 23 November 2026 (eight alerts, all four languages).

  • Fixed: alerts whose area is a circle were missed. Alertswiss describes an area as a polygon or as a circle around a point (a closed road, a single building). Circles were ignored: such an alert never counted for the home location, had no map marker and no distance. A home inside the circle is now reported as affected, and the alert gets its marker at the circle's centre.
  • Fixed: zones cut out of an area counted as affected. An area can exclude zones inside it; a home in such a zone is no longer reported as affected.
  • Fixed: links without "https://" were lost. Authorities often enter a bare address such as www.example.ch; the cards showed no link then. Such addresses now get https://. The further links an authority attaches are available as the attribute links (address and text) and shown on the alert card.
  • Changed: the canton comes from the feed. The canton of an alert (canton_code, used for the coat of arms and the canton filter of the cards) is read from the area's region code instead of being guessed from the publisher's name, which stays the fallback. The new attribute cantons lists all of them when an alert spans several.
  • New: contact and machine translation. The home-affected sensor carries the authority's contact text; machine_translated tells when Alertswiss translated an alert automatically. The alert card shows both.
  • New: onset on the natural-hazard sensors, the time a warning begins, next to expires.
  • Quality scale Silver. Parallel updates are declared and the test suite grew from 12 to 54 tests covering 98 % of the code; the test workflow fails below 95 %. The card file changed: reload the dashboard with Ctrl+F5 / Cmd+Shift+R if the alert card does not show the new lines.

Swiss Public Alerts 1.7.3

Choose a tag to compare

@prusuino prusuino released this 19 Nov 21:56
  • The Home Assistant Marketplace lists the integration under Weather & alerts → Public warnings. The repository is marked as made for Switzerland. Nothing changes in how the integration works.

Swiss Public Alerts 1.7.2

Choose a tag to compare

@prusuino prusuino released this 09 Nov 12:03
  • Card hardening. The cards no longer trust attribute values: alert links are only rendered when they are http(s) URLs, the canton coat of arms is only loaded for a known canton code, the distance is coerced to a number and the severity colour lookup matches own keys only. Follow-up to the HACS review of Swiss Lottery by @frenck.

Swiss Public Alerts 1.7.1

Choose a tag to compare

@prusuino prusuino released this 09 Nov 11:03
  • Version on the service card. The integration's version now appears on its service card under Settings → Devices & services, where the entities are listed.

Swiss Public Alerts 1.7.0

Choose a tag to compare

@prusuino prusuino released this 09 Nov 08:34
  • Quality scale Bronze. The integration keeps its coordinators in the config entry's runtime data, the README gained removal instructions and a quality-scale section, and the manifest declares the bronze tier. A test suite (alert parsing, canton detection, point-in-area test, postal code lookup, hazard level aggregation, config flow with source and postal code checks, unreachable feed, single entry and the options flow) runs on every push. No change to entities or configuration.

Swiss Public Alerts 1.6.0

Choose a tag to compare

@prusuino prusuino released this 08 Nov 22:13
  • New: repair notices. A notice under Settings → Repairs when Alertswiss or the natural hazard portal has not answered for three refreshes in a row (it clears itself with the next successful refresh), and when the configured postal code is unknown to the hazard portal, with a pointer to Configure. In all four languages.

v1.5.1

Choose a tag to compare

@prusuino prusuino released this 06 Nov 13:50
  • Fixed: the diagnostics download could contain private values. The entry's unique id went out unredacted: depending on the integration it holds the coordinates of the entry or, for a VKF entry of Swiss Hail Protection, the device serial. The text of the last error could also repeat a request URL. The unique id, the entry title and the entry's name and location fields are now redacted, and only the type of the last error is reported. If you have shared a diagnostics file from the previous version, consider it exposed.