Skip to content

Releases

Swiss Waters 1.8.2

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 Waters 1.8.1

Choose a tag to compare

@prusuino prusuino released this 09 Nov 11:47
  • 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 Waters 1.8.0

Choose a tag to compare

@prusuino prusuino released this 08 Nov 23:49
  • Quality scale Bronze. The integration keeps its coordinator 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 (station record merge, freshness, distance, bathing water classification, config flow with radius, favorite, duplicate, unreachable service and reconfigure) runs on every push. No change to entities or configuration.

Swiss Waters 1.7.0

Choose a tag to compare

@prusuino prusuino released this 08 Nov 22:12
  • New: repair notices. A notice under Settings → Repairs when the FOEN data service has not answered for three refreshes in a row (it clears itself with the next successful refresh), and when a favorite station or bathing site is no longer in the FOEN list, with a pointer to Reconfigure. In all four languages.
  • New: triggers and conditions in the automation editor (Home Assistant 2026.10 / 2026.11 or newer). Triggers: Flood danger level reached (from a minimum level, fires once when the level is reached), Water temperature crossed a threshold, Water level crossed a threshold and Discharge crossed a threshold, each targeting the integration's own sensors of that measure. Conditions: Flood danger level is at least and Flood danger level is below. In all four languages; on older versions the entries are simply not offered.
  • New: a blueprint, notify on flood danger. One-click import from the README: picks the flood danger level sensors of your stations, a minimum level and your phone, and sends station, level and the level's meaning once when the level is reached; an action field takes your own steps with the text as {{ message }}.
  • New: reconfigure an entry in place. The entry's menu under Settings → Devices & services now offers Reconfigure, with the form of the entry's own mode: another location or radius for an overview, another station or bathing site for a favorite. The entry keeps its id, so stations and sites that stay selected keep their entities, ids and history; the entities and devices of those that drop out of the selection are removed, and the reload adds the new ones. The form checks the selection against the data service as the setup form does and refuses a change that would duplicate another entry. Suggested entity ids keep the short entry tag they were created with.

v1.6.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.

v1.6.0

Choose a tag to compare

@prusuino prusuino released this 06 Nov 12:03
  • New: diagnostics download. The entry menu under Settings → Devices & services offers Download diagnostics: the entry's configuration, what was last fetched and the current state of its entities, with coordinates, credentials and other personal values redacted and long lists cut. Attach it to an issue report.

v1.5.2

Choose a tag to compare

@prusuino prusuino released this 05 Nov 19:05
  • Maintenance release for the Home Assistant Marketplace. Home Assistant 2026.11 replaces HACS with the built-in Marketplace (Settings → Marketplace); the README now describes installation and updates through it. The release ships the integration as a zip asset, which the Marketplace (and HACS) download in one piece.
  • No functional changes. Existing entities, their ids and your configuration are unchanged.

If you find this integration useful, you can buy me a coffee.

v1.5.1

Choose a tag to compare

@prusuino prusuino released this 18 Oct 09:40
  • Fixed: a failed registration of the dashboard strategy file is retried.
    The static path for /swiss_waters_files/ was marked as served before the
    registration had gone through, so one failed attempt (for example while the
    HTTP component was not ready yet) left the dashboard strategy unreachable
    until the next restart. The marker is now released again when the
    registration raises, and the next config entry setup registers the path.
    Nothing changes for existing entities or configuration.

v1.5.0

Choose a tag to compare

@prusuino prusuino released this 29 Aug 19:33

Review follow-ups. Nothing to do on update: every existing entity keeps its entity id, unique ids are unchanged, and no configuration change is needed.

  • Fixed: sensor entity ids are scoped to the config entry. A sensor registered from this version on is suggested as sensor.swiss_waters_<station>_<measure>_<entry> (<entry> = the last four characters of the config entry id, lower case), so a station that is part of a favorite and of a radius overview gets two distinct ids instead of a _2 suffix on the second one. Home Assistant applies a suggested id only when it registers an entity for the first time — the sensors you already have keep the id they have.
  • Changed: map markers are named after their station. A marker's name is now the station's device name ("Aare – Bern, Schönau") without the localized "Water"/"Gewässer" prefix, and a marker registered from this version on gets a language-neutral id (geo_location.aare_bern_schonau). Existing markers keep their id; the README still recommends selecting markers by source: swiss_waters.
  • Fixed: stale readings are no longer shown as current. A FOEN reading or a Zurich lake temperature older than 6 hours makes its sensors unavailable and blanks the measured values on the map marker; the measurement time stays visible as an attribute. The limit for the lake temperatures allows for the community API, which often serves its newest record a few hours behind the station; while it lags beyond the limit, the temperature sensor is unavailable rather than showing an old reading as live. A bathing site without a sample in the four-season assessment period has no assessment — its quality and last-sampling sensors are unavailable instead of unknown.
  • Fixed: the published version of the FOEN bathing water dataset is resolved again every 24 hours and whenever a query comes back empty, so a newly published dataset is picked up without a restart; an empty dataset is reported in the log once.
  • Fixed: new stations, new bathing sites and measures a station starts reporting later get their sensors with the next update — a reload is no longer needed. Entities of stations that disappear from the source are kept and turn unavailable.
  • Fixed: setting up a bathing radius now checks that at least one bathing site (or Zurich lake station) lies inside the radius and says so otherwise; the favourite bathing site picker reports an unreachable LINDAS instead of silently offering only the two Zurich stations.
  • Changed: a LINDAS outage during setup is logged as a warning without a traceback, an unreadable answer from a data service is reported as such instead of as "unreachable", and the setup wizard fetches the station and site lists once per run instead of twice.
  • Changed: the setup wizard's step titles use the same product name in every language.
  • Docs: SECURITY.md and the README name the three hosts the integration talks to — including the community-run tecdottir.metaodi.ch API for the Zurich lake data — and state that your location never leaves your instance; the README's setup section lists all four modes.
  • Updated the bundled dashboard-strategy core to 1.1.1: map: false now also removes a map section inside a view, max_columns is honoured in the view-strategy flavour, and a view's header is kept when the strategy fills a single view. No change to the integration itself.

v1.4.0

Choose a tag to compare

@prusuino prusuino released this 29 Aug 12:18

The dashboard that 1.3.0 removed has a replacement: a dashboard strategy. A strategy is a recipe Home Assistant renders in the browser at display time — it stores nothing, overwrites nothing, and reflects your current setup on every page load. Add a station or a bathing site and its section appears; delete an entry and it is gone, with no stale card left behind. It is entirely optional, and existing dashboards are not touched.

  • New: dashboard strategy custom:swiss-waters. It renders a full-screen Map of the monitoring stations (markers labeled with the water temperature; the view is left out when no station markers exist, so a bathing-only setup gets no empty map), a Stations view with one section per station (water temperature, water level, discharge and flood danger level as tiles — only the measures the station reports), and a Bathing sites view with one section per site (quality class and last sampling, or the live water temperature of the Lake Zurich stations). It also appears under Settings → Dashboards → + Add dashboard, can fill a single view of a dashboard you already have, and honours title, max_columns and map: false as options. Setup is in the README; in short, a new dashboard with:

    strategy:
      type: custom:swiss-waters
    views: []
  • One-time step: register the resource. The integration serves the file at /swiss_waters_files/swiss-waters-dashboard.js but does not add it to your Lovelace resources — the resource list is part of your dashboard configuration, and the integration stays out of it. Add it once under Settings → Dashboards → ⋮ → Resources with type JavaScript module, then reload the page.

  • Changed: the minimum Home Assistant version is now 2025.4.0 (previously 2024.1.0). Serving the file uses the static-path API from 2024.7, and the generated dashboard relies on the sections view with heading cards and grid_options (2024.10/2024.11) and on the map card's attribute labels for geo-location sources (2025.4) — the same feature the README's manual map card has always used.

  • Added: http is declared as a dependency in the manifest, so the static path is registered when the integration loads.

  • Fixed: the map markers now become unavailable while the FOEN data source is unreachable — exactly like the station sensors — instead of keeping their last water temperature on the map label indefinitely. They come back by themselves with the next successful update.

  • Nothing to do on update: no entity id, name or hidden/visible setting changes. The map markers have carried the config entry in their unique id since 1.0.0, so a favorite station that also lies inside a radius overview keeps its own marker in each entry.

  • README: the installation section now describes the HACS listing (search for "Swiss Waters" in HACS, or use the Open in HACS button) instead of the custom-repository route, and a new section explains how to address the map markers — their entity ids follow the localized entity name, so cards and templates should select them by source: swiss_waters instead.