Avri integration config flow (#13008)

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
This commit is contained in:
Tim van Cann 2020-06-08 15:14:16 +02:00 committed by GitHub
parent d0085b487b
commit 38a742c7ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,35 +14,7 @@ The `Avri Waste` platform allows you to track the next scheduled waste pickup an
## Configuration
To enable this sensor, add the following lines to your `configuration.yaml`:
```yaml
# Example configuration.yaml entry
sensor:
- platform: avri
zip_code: YOUR_ZIP_CODE
house_number: YOUR_HOUSE_NUMBER
```
{% configuration %}
zip_code:
description: Your zip code
required: true
type: string
house_number:
description: Your house number
required: true
type: integer
house_number_extension:
description: Your house number extension
required: false
type: string
county_code:
description: Your country code
required: false
type: string
default: NL
{% endconfiguration %}
To add the `avri` sensor to your installation, go to **Configuration** >> **Integrations** in the UI, click the button with `+` sign and from the list of integrations select **Avri**.
The default frequency for pulling data from the Avri API is once every 4 hours. If the Avri API does not return any pickup days the state of the sensor is set to `unknown`.