mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 04:06:03 +01:00
Fix stevenage gov uk (#2217)
* Fix the stevenage_gov_uk source * Update documentation * reformatting + ./update_docu_links.py + add findmyaddress.co.uk link in md file --------- Co-authored-by: Adam Prickett <adam.prickett@ampersa.co.uk> Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Stevenage Borough Council
|
||||
|
||||
Support for schedules provided by [Stevenage Borough Council](https://www.stevenage.gov.uk/waste-and-recycling/your-bin-collections).
|
||||
Support for schedules provided by [Stevenage Borough Council](https://stevenage-self.achieveservice.com/service/my_bin_collection_schedule).
|
||||
|
||||
## Configuration via configuration.yaml
|
||||
|
||||
@@ -9,21 +9,24 @@ waste_collection_schedule:
|
||||
sources:
|
||||
- name: stevenage_gov_uk
|
||||
args:
|
||||
postcode: POST_CODE
|
||||
road: ROAD
|
||||
uprn: UPRN
|
||||
```
|
||||
|
||||
### Configuration Variables
|
||||
|
||||
**postcode**
|
||||
**uprn**
|
||||
*(string) (required)*
|
||||
|
||||
Postcode of property. This is required. Stevenage Borough Council API does not support UKPRN. Single space between 1st and 2nd part of postcode is optional.
|
||||
Unique property reference. This is required. To obtain this value, visit https://stevenage-self.achieveservice.com/service/my_bin_collection_schedule, enter your postcode and Inspect the Select address field. The value of the option associated with your address is your uprn.
|
||||
|
||||
**road**
|
||||
*(string) (required)*
|
||||
|
||||
Name of road property is in. This is required.
|
||||
For example, the UPRN in this example for 100 High Street is **200000586516**
|
||||
```html
|
||||
<option value="">Select...</option>
|
||||
<option class="lookup-option" value="100080885553">10 High Street, Stevenage</option>
|
||||
<option class="lookup-option" value="200000586516">100 High Street, Stevenage</option>
|
||||
<option class="lookup-option" value="100081247651">101 High Street, Stevenage</option>
|
||||
...
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
@@ -32,6 +35,5 @@ waste_collection_schedule:
|
||||
sources:
|
||||
- name: stevenage_gov_uk
|
||||
args:
|
||||
postcode: SG2 9TL
|
||||
road: Coopers Close
|
||||
uprn: 100080879233
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user