8000 Tags · somansch/tomtom · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v1.3.1

Toggle v1.3.1's commit message
Release v1.3.1: a failed card update is retried under a new URL

The loader fetches a newer card into an open page after Home Assistant
restarts. A failed import is remembered by the browser per URL, so the
retries under the same URL failed again without asking the server and the
page stayed on the old card until it was reloaded. Each further try for
the same version now carries a retry parameter of its own.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

v1.3.0

Toggle v1.3.0's commit message
Release v1.3.0: a used-up quota keeps the entries running, a day's li…

…mit, detail lookups per route

TomTom counts its free tier per API and answers the one that has no
requests left with 403 InsufficientFunds. That was read as a refused key
and took every entry down. It is now a TomTomQuotaError of its own: an
area or a tracker goes on without TomTom reports, a route keeps what its
sections name, a repair names the API, and the API is asked again no
sooner than an hour later. The card says above its list what is missing.

Added: a switch and an interval for a route's detail lookups (also among
the defaults for new routes), a limit on the day's Incident Details
requests (80 by default, 0 for none) with a repair of its own, and the
attributes incident_details_ok on Reports and used_up on Quota at risk.
A route looks up only the reports it shows.

The minimal format's editor offers what its pop-up draws - the Traffic
button and the info line under Layout, switches for the refresh button
and the traffic's share - and hides what that format has no use for.

Fixed, from a review of the whole integration: speed cameras were removed
and made again at every restart and reload, announced as new and under
new entity ids; a route's hours past midnight; a failed detail lookup
failing the route; the jam delay among the route defaults; forms losing
what was typed after an error; the card reading a report's time in the
browser's zone, standing still between polls, and refetching a live
route's colours too rarely; the planner saving an outdated preview; a
live update dropping card-mod's styles; and more - see CHANGELOG.md.

The 17 new or reworded strings are translated into all 30 languages, and
the quota warning's menu path reads in every language as the interface
shows it. Home Assistant 2024.12 is the minimum. The README's key and
quota sections are rewritten as "The API key" and "Quota".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

v1.2.1

Toggle v1.2.1's commit message
Release v1.2.1: the colour menus in the card editor stay in view

The menu beside every colour field opens towards the side with more room
and is capped to it. That room was measured against the first scrolling
box above the editor, which in some dialogs is not the box that clips
the menu, so a menu opened upwards near the top of a block ran off the
top of the dialog with its first entries out of reach. It now measures
against every box that really clips it (_clipRect, as the tooltips do)
and keeps at least 96px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

v1.2.0

Toggle v1.2.0's commit message
Release v1.2.0: Google Maps button, traffic flow and cameras in the p…

…lanner

- A Google Maps button on the map opens the route, area or tracker in
  Google Maps.
- The planner draws a calculated route with its traffic flow and adds the
  blitzer.de and Lufop cameras along it; a saved live route keeps the flow.
- An updated card reaches every open page by itself after a restart.
- A switch per source under the kinds blitzer.de and Lufop both answer.
- The Traffic button sits beside the refresh button; every pill centres
  its symbol and word.
- Fixed: the planner counts one report in the singular, tooltips inside a
  Bubble Card pop-up editor, the bar of kinds and a planned route, a forced
  map theme on the overlays, entries stuck initialising after a restart,
  stale reports from a source that stops answering.
- Translations for all 29 other languages; README screenshots updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

v1.1.0

Toggle v1.1.0's commit message
Release v1.1.0: kinds with their own look, a bar of kinds, links to r…

…eports, camera counts, map theme, jam delay

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

v1.0.2

Toggle v1.0.2's commit message
Release v1.0.2: police reports, every blitzer.de camera, map colours …

…in the list

blitzer.de's police reports ("vwd") are a kind of their own, police_report:
the bulletin as the description, road and town as the place, a megaphone
in the sources' red. They are asked in a request of their own - together
with the cameras, blitzer.de folds them into groups the search missed.

A group of blitzer.de cameras is asked again in a quarter of the parent
box's radius instead of a tenth. Measured against a 2 km grid: a tenth
lost 2 of 3 cameras in a 12 km circle and 14 of 52 in an 18 km one; a
quarter found every one, in the same number of requests.

The card colours a report's symbol from one place for the map marker,
the planner marker and the list row: the band colour for TomTom's kinds,
one red for anything a further source reports.

A stretch's length follows the installation's language in the summary
("1,2 km" in German) and the reader's number format on the card. The NEW
badge is centred on the capitals of its line.

Translations for all 28 languages updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

v1.0.1

Toggle v1.0.1's commit message
Release v1.0.1: keep an edited blueprint, constant-time tile token

The Report Alerts blueprint was written over on every start whenever the
copy in config/blueprints/automation/tomtom/ differed from the shipped one.
The integration now keeps the hash of what it last installed in
.storage/tomtom.blueprints: a missing copy is installed, an untouched one
is replaced when the shipped version changes, and one the user edited is
left alone, with a warning once per new shipped version.

The flow tile view compares its token with hmac.compare_digest and
refuses every request while no token is set.

Both from the review of the HACS default submission.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

v1.0.0

Toggle v1.0.0's commit message
Pass the Lufop key address as a placeholder, for hassfest

Hassfest rejects URLs in translation strings. The data-sources step named
https://api.lufop.net/ in its description in all thirty languages; it is
now {lufop_url}, filled by the flow from LUFOP_SIGNUP_URL, the way the key
step already passes TomTom's sign-up address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0