From 00667064976d3d7d7f67ba124030a1599e653a9b Mon Sep 17 00:00:00 2001 From: Shai Ungar Date: Mon, 11 Mar 2024 13:47:56 +0200 Subject: [PATCH] seventeentrack update docs with config flow (#31579) * seventeentrack update docs with config flow * seventeentrack update docs with config flow removed too much * Update source/_integrations/seventeentrack.markdown Co-authored-by: Klaas Schoute --------- Co-authored-by: Klaas Schoute --- source/_integrations/seventeentrack.markdown | 38 +++----------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/source/_integrations/seventeentrack.markdown b/source/_integrations/seventeentrack.markdown index 20b65ad595c..72139122b4b 100644 --- a/source/_integrations/seventeentrack.markdown +++ b/source/_integrations/seventeentrack.markdown @@ -4,14 +4,17 @@ description: Instructions on how to use 17track.net data within Home Assistant ha_category: - Postal Service ha_release: 0.83 +ha_config_flow: true ha_iot_class: Cloud Polling +ha_codeowners: + - '@shaiu' ha_domain: seventeentrack ha_platforms: - sensor ha_integration_type: integration --- -The `seventeentrack` sensor platform allows users to get package data tied to their [17track.net](https://www.17track.net/) account. The platform creates both summary sensors, which show the number of packages in a current state (e.g., "In Transit"), as well as individual sensors for each package within the account. +The seventeentrack {% term integration %} allows users to get package data tied to their [17track.net](https://www.17track.net) account. The integration creates both summary sensors, which show the number of packages in a current state (e.g., "In Transit"), as well as individual sensors for each package within the account.
@@ -19,38 +22,7 @@ Although the 17track.net website states that account passwords cannot be longer
-## Configuration - -To enable the platform, add the following lines to your `configuration.yaml` -file: - -```yaml -sensor: - - platform: seventeentrack - username: EMAIL_ADDRESS - password: YOUR_PASSWORD -``` - -{% configuration %} -username: - description: The email address associated with your 17track.net account. - required: true - type: string -password: - description: The password associated with your 17track.net account. - required: true - type: string -show_archived: - description: Whether sensors should be created for archived packages. - required: false - type: boolean - default: false -show_delivered: - description: Whether sensors should be created for delivered packages. - required: false - type: boolean - default: false -{% endconfiguration %} +{% include integrations/config_flow.md %} ## Package statuses