Skip to content

Lovelace Companion card for sensor.seventeentrack

License

Notifications You must be signed in to change notification settings

ping-localhost/seventeen-track-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

17Track.net Card

hacs_badge GitHub release (latest by date) GitHub Release Date

This card give you a list of shipment information generated by the official 17track.net sensor.

Options

Name Type Requirement Description
type string Required custom:seventeen-track-card
entity string Required The entity_id of the entity you want to show (for example, sensor.seventeentrack_packages_in_transit).
title string Optional Add a custom title to the card.
sort boolean Optional Sortes packages by their timestamp (in ascending order)

Manual installation

Step 1

Install seventeen-track-card by copying seventeen-track-card.js from this repo to <config directory>/www/seventeen-track-card.js on your Home Assistant instanse.

Example:

wget https://github.com/ping-localhost/seventeen-track-card/master/seventeen-track-card.js
mv seventeen-track-card.js /config/www/

Step 2

Link seventeen-track-card inside you ui-lovelace.yaml.

resources:
  - url: /local/seventeen-track-card.js
    type: module

HACS installation

Step 1

Install HACS as per there Installation guide.

Step 2

Add my repository as a custom repostiory in the HACS settings (and be sure to select the Plugin-category).

Step 3

Install the card as you are used to and set it up as instructed by HACS, which consists of adding:

  - url: /hacsfiles/seventeen-track-card/seventeen-track-card.js
    type: module

Step 4

Add a custom element in your ui-lovelace.yaml

      - type: custom:seventeen-track-card
        entity: sensor.seventeentrack_packages_in_transit

Final result

example

Suggestion: If you set a "memo" in 17Track, it will be displayed in the frontend as well.

About

Lovelace Companion card for sensor.seventeentrack

Resources

License

Stars

Watchers

Forks

Packages

No packages published