Repository navigation
Releases
Releases · prusuino/ha_swiss_charging_stations
Swiss Charging Stations 1.15.2
- 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 Charging Stations 1.15.1
- Fixed: a favorite that changed during an outage did not fire the triggers. While the status cannot be read the favorite's sensors are unavailable, and Home Assistant ignores every change out of "unavailable". A charge point that was occupied before the outage and available after it did not fire Favorite became available (and the other way round for occupied). Both triggers now compare with the status before the outage; a favorite that comes back unchanged does not fire.
- Tests for the triggers with real automations.
Swiss Charging Stations 1.15.0
- Live status from the new ich-tanke-strom.ch API where it has it. The Swiss Federal Office of Energy connects the operators to its new platform (OCPI 2.3) one by one; in November 2026 it knows about a third of the charge points. For those the integration now takes the live status from the new API — in a comparison it agreed with the previous source for 99.8 % of the charge points and carried recent changes earlier — and it adds charge points only the new API lists. Everything else comes from the previous source as before, so nothing disappears, and the share taken from the new API grows by itself as operators are connected. Entity ids, favourites and sites stay as they are. A charge point is not added when the previous source already has one at the same spot or one with the same plug within 150 m, because operators list re-branded sites under new ids. Prices still come from the price atlas: the tariffs of the new API are net of VAT, mostly carry no tariff type and often differ from the published ad-hoc price. If the new API cannot be read, the status of the previous source is shown.
- Keeps working when the ich-tanke-strom.ch server goes away. The Swiss Federal Office of Energy is moving ich-tanke-strom.ch to a new platform (OCPI 2.3) from December 2026; the GeoServer this integration reads is no longer mentioned in its documentation, and the new API covers only about a third of the charge points so far. When the GeoServer fails, the integration now reads the same data from the OICP files the office publishes on data.geo.admin.ch over HTTPS — every charge point and its status, regenerated about every minute — and filters them locally. The GeoServer is tried again every 30 minutes and used as soon as it answers. Compared live for Olten, Zürich, Geneva, Lugano and Bern (5,300 charge points), both sources give the same charge points and, apart from changes between the two reads, the same status. Only the payment options are missing in the files.
- Diagnostics show which source is in use (
wfsoroicp_files) and how many charge points the new API lists and supplies a live status for.
Swiss Charging Stations 1.14.4
- The Home Assistant Marketplace lists the integration under Energy → EV charging and Vehicles & transport → Cars & EVs. The repository is marked as made for Switzerland. Nothing changes in how the integration works.
Swiss Charging Stations 1.14.3
- New icon and logo. The integration has a new icon and a new logo, now with a variant for the dark theme. They appear under Settings → Devices & services and in the Marketplace. The README gained a header image.
Swiss Charging Stations 1.14.2
- Card hardening. The escaping helper also escapes quotes and the status lookups match own table keys only; attribute values are never trusted. Follow-up to the HACS review of Swiss Lottery by @frenck.
Swiss Charging Stations 1.14.1
- 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 Charging Stations 1.14.0
- 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 parsing, site grouping and merging, opening hours and site status, filters, published prices, config flow with radius, favorite by EvseID, nearby pick, duplicate, unreachable service and reconfigure) runs on every push. No change to entities or configuration.
Swiss Charging Stations 1.13.0
- New: repair notices. A notice under Settings → Repairs when the ich-tanke-strom.ch service has not answered for three refreshes in a row (it clears itself with the next successful refresh), and when a favorite charge point or site is no longer in its data, with a pointer to Reconfigure. In all four languages.
- New: reconfigure an entry in place. The entry's menu under Settings → Devices & services now offers Reconfigure, which runs the same steps as the setup: a new location or radius for an overview, another charge point or site for a favorite. The entry keeps its id and the user's options; entities of a selection that stays keep their ids and history, entities of one that is replaced are recreated. A change that would duplicate another entry is refused.
- New: triggers and conditions in the automation editor (Home Assistant 2026.10 / 2026.11 or newer). Triggers: Favorite station became available, Favorite station became occupied (both on the derived status of a favorite charge point or site, which also respects opening hours) and Available count crossed a threshold (radius overviews, plug-type sensors and favorite sites). Conditions: Favorite station is available and Favorite station is occupied. In all four languages; on older versions the entries are simply not offered.
- New: a blueprint, notify when a favorite station becomes available. One-click import from the README: picks your favorite stations and your phone, and sends name, street and city once when a favorite becomes available again; an action field takes your own steps with the text as
{{ message }}.
v1.12.1
- 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.