A modern, customizable Home Assistant Lovelace card for displaying package tracking numbers with clickable links. Requires tracking-numbers custom integration
- Clean, modern card design following Home Assistant design language
- Visual configuration UI editor
- Clickable tracking numbers that open package tracking pages
- Copy tracking number to clipboard with one click
- Add manual tracking numbers directly from the card
- Remove or hide entries with a single click
- Display carrier information with icons
- Show relative timestamps (e.g., "2 hours ago")
- Summary statistics by carrier
- Fully customizable sorting and display options
- Responsive design for mobile and desktop
- Full theme support (dark/light mode)
- Empty state handling
- Stylized console logging with version info
This card requires the tracking-numbers custom integration to be installed and exposing a sensor with tracking data. HACS is the recommended way to install the card.
Installation through HACS
- Open HACS in Home Assistant.
- Go to Frontend, click Explore & Download Repositories, and search for Tracking Number Card.
- Select it, click Download, and choose the latest version.
- Hard-refresh your browser (Ctrl/Cmd + Shift + R) to clear the cached module.
HACS automatically registers the Lovelace resource /hacsfiles/tracking-number-card/tracking-number-card.js. If your dashboard is in YAML mode, add it yourself under Settings → Dashboards → Resources as a JavaScript Module.
- Download
tracking-number-card.jsfrom the latest release. - Copy it to
config/www/tracking-number-card.js. - Go to Settings → Dashboards → Resources → Add Resource.
- Set the URL to
/local/tracking-number-card.jsand the type to JavaScript Module. - Hard-refresh your browser.
| Option | Type | Default | Description |
|---|---|---|---|
entity |
string | Required | Entity ID with tracking number data |
title |
string | Entity friendly name | Custom card title |
show_summary |
boolean | true |
Show summary statistics by carrier |
show_carrier |
boolean | true |
Display carrier information for each package |
show_origin |
boolean | true |
Display retailer or sender information when available |
show_dates |
boolean | true |
Show last updated timestamps |
sort_by |
string | first_seen |
Sort field: first_seen, carrier, or tracking_number |
sort_direction |
string | desc |
Sort direction: asc or desc |
max_items |
number | unlimited | Maximum number of packages to display |
Contributions are welcome! Please feel free to submit a Pull Request.
- Update the version in
package.jsonand commit your changes. - Create and push a version tag, for example
git tag 4.2.2 && git push origin 4.2.2(av-prefixed tag such asv4.2.2also works). - The GitHub Actions workflow builds the distribution files and publishes a release with the generated assets.
MIT License - see LICENSE file for details
For issues, feature requests, or questions:
- GitHub Issues: tracking-number-card/issues