mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 02:04:22 +01:00
added swansea_gov_uk source (#1527)
* added swansea_gov_uk source * refactoring/reformatting --------- Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
37
doc/source/swansea_gov_uk.md
Normal file
37
doc/source/swansea_gov_uk.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Swansea Council
|
||||
|
||||
Support for schedules provided by [Swansea Council](https://swansea.gov.uk/), UK.
|
||||
|
||||
If collection data is available for the address provided, it will return household and recycling waste collection dates.
|
||||
|
||||
|
||||
## Configuration via configuration.yaml
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: swansea_gov_uk
|
||||
args:
|
||||
street_name: STREET_NAME
|
||||
post_code: POST_CODE
|
||||
```
|
||||
|
||||
### Configuration Variables
|
||||
|
||||
**street_name** _(string) (required)_ : Any part of the road/street name
|
||||
**post_code** _(string) (required)_ : Full postcode of the property
|
||||
|
||||
## Example:
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: swansea_gov_uk
|
||||
args:
|
||||
street_name: "cwmdonkin"
|
||||
post_code: "SA20RA"
|
||||
```
|
||||
|
||||
## How to verify that your address works
|
||||
|
||||
Visit [swansea.gov.uk/recyclingsearch](https://swansea.gov.uk/recyclingsearch) and search for your street name and postcode.
|
||||
Reference in New Issue
Block a user