mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Add config flow to AfterShip (#29033)
This commit is contained in:
parent
c96b446adb
commit
698ab320d6
@ -23,27 +23,7 @@ To use this sensor, you need an [AfterShip Account](https://accounts.aftership.c
|
|||||||
AfterShip recently removed the tracking API functionality from the Forever Free plan. The tracking API functionality requires at least the Essentials plan.
|
AfterShip recently removed the tracking API functionality from the Forever Free plan. The tracking API functionality requires at least the Essentials plan.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Configuration
|
{% include integrations/config_flow.md %}
|
||||||
|
|
||||||
To enable this sensor, add the following lines to your `configuration.yaml`:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
sensor:
|
|
||||||
- platform: aftership
|
|
||||||
api_key: AFTERSHIP_APIKEY
|
|
||||||
```
|
|
||||||
|
|
||||||
{% configuration %}
|
|
||||||
name:
|
|
||||||
description: The sensor name to use in the frontend.
|
|
||||||
required: false
|
|
||||||
default: "aftership"
|
|
||||||
type: string
|
|
||||||
api_key:
|
|
||||||
description: The API key for AfterShip.
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
{% endconfiguration %}
|
|
||||||
|
|
||||||
## Service `add_tracking`
|
## Service `add_tracking`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user