Repository navigation
Releases
Releases · juju35/ha-parcel
v1.10.0
Features
- Cards without Parcel:
source: seventeentrackshows the deliveries of the 17TRACK integration (asked withseventeentrack.get_packageswhen its sensors change, every 30 minutes and on refresh; added withseventeentrack.add_package),source: aftershipthose of the AfterShip sensor (added withaftership.add_tracking, carrier code optional). Their states map to Parcel's, so the street, the tiles and the mini card work the same. The source is picked in the visual editor, whose sensor picker follows it. Closes #81. - Card only in the integration's setup: loads the cards without a Parcel account (no sensor, no request to Parcel), for 17TRACK and AfterShip users.
v1.9.7
Maintenance
- The frontend source is split into ES modules:
src/parcel-card/(entrysrc/parcel-card/index.js), cut at its sections, with the translations in one file per language (src/parcel-card/i18n/<lang>.js).scripts/build-frontend.mjsassembles them, in their original order, intocustom_components/parcel/frontend/parcel-card.js, which is no longer committed; the tests, the screenshots and the release build it first. The release zip is unchanged.
v1.9.6
Performance
- Card picker: the previews are back (
preview: true), and light. Each card's preview is drawn only once it scrolls into view of Home Assistant's card picker, which otherwise builds the preview of every card at once: until then it holds Home Assistant's state (no render, no history request, no animation). On a dashboard or in the card editor the card is drawn as before.
v1.9.5
Performance
- Card picker: the cards no longer ask Home Assistant for a live preview (
preview: falseinwindow.customCards). The picker drew every card at once (history requests, animations), which made the list slow to open; it now shows each card's description instead.
v1.9.4
Fixes
- The status pill is placed from the card's first frame: it was measured before Home Assistant's
<ha-card>had laid out its content (0 px wide), so for a frame it showed on the wrong line (under the title, or beside it when it belongs under it), sometimes changing the card's height, before jumping to its place. It is now fitted once the card is drawn. - Card: a tap elsewhere on the page folds the card back on iOS too (Safari and the companion app send no click for a tap on something that is not clickable): the unfolded deliveries, the add form and the mini card's full view. A click in a dialog opened from the card no longer folds it.
- Card: leaving the page (another dashboard view, a conditional card hidden) brings the card back to its default state — add form closed, deliveries folded, mini card compact.
- Card: the frosted header buttons keep their blur on Safari before 18 (WebKit prefix).
- Card: a state update patches the card in place instead of drawing it again — the delivery rows and the tabs keep their nodes, an unfolded delivery stays as it is, and the card keeps its height: a re-created card is laid out again, which can make the dashboard jump (scroll anchoring). Updates of other entities still touch nothing.
parcel.refreshis throttled: a call less than 3 minutes after the previous one reuses the last fetch (or reports the last failure, translated) instead of spending another of the account's 20 requests per hour. The action stays open to every user.- A failed download of the carriers list is tried again after 30 minutes, not at every deliveries update.
Maintenance
- Tests: the coverage of the card is now measured (
node --test --experimental-test-coverage).
v1.9.3
Fixes
- Mini card with no parcel to show: the refresh and add buttons are back in the banner, in place of the hidden expand button (1.9.2 had left no way to reach them).
v1.9.2
Fixes
- Header buttons: refresh and add are back to the size of the detail button (24 px on the illustrated banner, 26 px otherwise) — Home Assistant 2026.11's
ha-icon-buttonignored the size override and drew them at 48 px. - No parcel to show: the card now ends on its header — the "No deliveries to show" line and the band under the road are gone (an empty tab still says so).
- Mini card with no parcel to show: the expand button is hidden.
v1.9.1
Fixes
- Illustrated header:
autonow follows the Home Assistant theme alone — a light theme keeps the day picture after sunset, a dark theme still shows the night one.
v1.9.0
Features
- Header on the common look of the ha- cards*: the illustrated banner is now 90 px high on the full card and on the mini card alike, with a 10 px road edge to edge at the bottom.
- The round icon of the header takes the colour of the featured parcel: blue when out for delivery or in transit, amber when awaiting pickup, green once delivered, red after a failed attempt or an exception, grey with nothing on the way. Day and night (lifted toward white on the night sky), on the full card, the mini card and without background.
- Each card draws its scene with its own SVG ids, so several Parcel cards on one dashboard never share the moon's mask.
- Status pill on the title row of both cards: the featured parcel's state (or "Nothing on the way") in the header icon's colour, right after the title only when the whole title and its whole label fit there (the title is never cut for it), else on a line of its own under the subtitle (kept to one line); when even that does not fit in the header, and on cards 200 px wide or less, only its dot stays (the state in its tooltip). Measured on the rendered header, so it holds in every language. The header buttons (refresh, add, detail) are small frosted rounds lined up in the banner's top right corner, the detail button last; with the classic header the mini card's detail button sits in the card's corner.
Documentation
- README: screenshots of the mini card expanded to the full card, light and dark.
Fixes
show_title: falsehides the title again in the illustrated header, where it sits in the title row with the status pill.
v1.8.0
Features
illustration_backgroundoption (also in the visual editor):falseremoves the sky and the road behind the illustrated header. The houses and the van stand on a hairline, on the card's own background, still animated. The texts, the icon and the buttons then take the card's look, and the night mode keeps its lit windows and headlight.