add iapp_itouchvision_com, chilteren inherits from iapp_itouchvision_com (#2522)

* Update chiltern_gov_uk.py

* add iapp_itouchvision_com, chilteren inherits from iapp_itouchvision_com
based on the work of @craigsblackie in #2521
- added iapp_itouchvision_com
- chilteren now deprecated and inherits from iapp_itouchvision_com
- GUI configuration get automatically migrated
- added requirement pycryptodome to handle aes en/de-cryption

---------

Co-authored-by: craigsblackie <craig@craigsblackie.com>
Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
5ila5
2024-08-21 16:45:22 +02:00
committed by GitHub
parent ae58843ee7
commit aa794752e4
13 changed files with 272 additions and 87 deletions

View File

@@ -1,13 +1,14 @@
# Chiltern Area - Buckinghamshire Council
# DEPRECATED Chiltern Area - Buckinghamshire Council
This integration is deprecated and may be removed in a future release. Please use the [Itouchvision Source using the encrypted API](/doc/source/iapp_itouchvision_com.md) instead.
Support for schedules provided by former Chiltern, SouthBucks or Wycombe area, Council](https://chiltern.gov.uk/collection-dates) that covers High Wycombe.
## Configuration via configuration.yaml
```yaml
waste_collection_schedule:
sources:
- name: chiltern_gov_uk
- name: chiltern_gov_uk # DEPRECATED USE iapp_itouchvision_com INSTEAD with mun
args:
uprn: UPRN
```
@@ -22,11 +23,7 @@ waste_collection_schedule:
```yaml
waste_collection_schedule:
sources:
- name: chiltern_gov_uk
- name: chiltern_gov_uk # DEPRECATED USE iapp_itouchvision_com INSTEAD
args:
uprn: 200000811701
```
## How to get the source argument
Search for your address on the [FindMyAddress service](https://www.findmyaddress.co.uk/) which displays the UPRN in the result.
```

View File

@@ -0,0 +1,42 @@
# Itouchvision Source using the encrypted API
Support for schedules provided by [Itouchvision Source using the encrypted API](https://www.itouchvision.com/), serving multiple, UK.
## Configuration via configuration.yaml
```yaml
waste_collection_schedule:
sources:
- name: iapp_itouchvision_com
args:
uprn: "UPRN"
municipality: "MUNICIPALITY"
```
### Configuration Variables
**uprn**
*(String | Integer) (required)*
**municipality**
*(String) (required)*
supported are:
- BUCKINGHAMSHIRE
- CHILTERN
## Example
```yaml
waste_collection_schedule:
sources:
- name: iapp_itouchvision_com
args:
uprn: "100080550517"
municipality: "BUCKINGHAMSHIRE"
```
## How to get the source argument
An easy way to discover your Unique Property Reference Number (UPRN) is by going to <https://www.findmyaddress.co.uk/> and entering in your address details.