mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 02:04:22 +01:00
Tewkesbury Borough Council API URL change + remove postcode option (#1613)
* Update Tewkesbury API URL and remove postcode option The API URL for Tewkesbury Borough council has changed, and the postcode option no longer works, so this has been removed. * Remove postcode option from Tewksbury Borough Council Reflect changes in docs to remove postcode option from Tewksbury borough council * allow postcode as depricated method --------- Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
@@ -1,17 +1,9 @@
|
||||
# Tewkesbury City Council
|
||||
|
||||
Support for upcoming schedules provided by [Tewkesbury City Council](https://www.tewkesbury.gov.uk/waste-and-recycling), serving Tewkesbury (UK) and areas of Gloucestershire.
|
||||
Support for upcoming schedules provided by [Tewkesbury City Council](https://tewkesbury.gov.uk/services/waste-and-recycling/), serving Tewkesbury (UK) and areas of Gloucestershire.
|
||||
|
||||
## Configuration via configuration.yaml
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: tewkesbury_gov_uk
|
||||
args:
|
||||
postcode: POSTCODE
|
||||
```
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
@@ -22,25 +14,11 @@ waste_collection_schedule:
|
||||
|
||||
### Configuration Variables
|
||||
|
||||
**POSTCODE**
|
||||
*(string) (optional)*
|
||||
Not all addresses are supported by postcode. Then you have to provide a UPRN.
|
||||
|
||||
**UPRN**
|
||||
*(string) (optional)*
|
||||
|
||||
Either `postcode` or `uprn` must be provided.
|
||||
*(string) (required)*
|
||||
|
||||
## Example
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: tewkesbury_gov_uk
|
||||
args:
|
||||
postcode: "GL20 5TT"
|
||||
```
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
|
||||
Reference in New Issue
Block a user