2.0 KiB
title, description, ha_category, ha_release, ha_iot_class, ha_domain, ha_platforms, ha_integration_type, ha_config_flow
title | description | ha_category | ha_release | ha_iot_class | ha_domain | ha_platforms | ha_integration_type | ha_config_flow | ||
---|---|---|---|---|---|---|---|---|---|---|
AfterShip | Instructions on how to set up AfterShip sensors within Home Assistant. |
|
0.85 | Cloud Polling | aftership |
|
integration | true |
The aftership
platform allows one to track deliveries by AfterShip, a service that supports 490+ couriers worldwide. To use the tracking API functionality, the Pro plan is required.
The sensor value shows the number of packages that are not in Delivered
state. As attributes are the number of packages per status.
Setup
To use this sensor, you need an AfterShip Account and set up an API Key. To set up an API Key go to AfterShip API page, and copy existing key or generate a new one.
{% important %} AfterShip removed the Tracking API functionality from the Forever Free plan, and also no longer offers it in the Essentials plan. Using this integration now requires at least the Pro plan. {% endimportant %}
{% include integrations/config_flow.md %}
Action add_tracking
You can use the aftership.add_tracking
action to add trackings to AfterShip.
Data attribute | Required | Type | Description |
---|---|---|---|
tracking_number |
True |
string | Tracking number |
slug |
False |
string | Carrier e.g., fedex |
title |
False |
string | Friendly name of package |
Action remove_tracking
You can use the aftership.remove_tracking
action to remove trackings from AfterShip.
Data attribute | Required | Type | Description |
---|---|---|---|
tracking_number |
True |
string | Tracking number |
slug |
True |
string | Carrier e.g., fedex |
{% note %} This integration retrieves data from AfterShip public REST API, but the integration is not affiliated with AfterShip. {% endnote %}