mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 02:04:22 +01:00
New Source: Croydon, UK (#978)
* initial commit * icon map updated * address matching corrected * Test cases added * .md added, .py comments added * update_docu_links added
This commit is contained in:
38
doc/source/croydon_gov_uk.md
Normal file
38
doc/source/croydon_gov_uk.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Croydon Council
|
||||
|
||||
Support for schedules provided by [Croydon Council](https://www.croydon.gov.uk/), serving Croydon, UK.
|
||||
|
||||
## Configuration via configuration.yaml
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: croydon_gov_uk
|
||||
args:
|
||||
postcode: POSTCODE
|
||||
houseID: HOUSE_NUMBER & STREET
|
||||
```
|
||||
|
||||
### Configuration Variables
|
||||
|
||||
**postcode**
|
||||
*(string) (required)*
|
||||
|
||||
**houseID**
|
||||
*(string) (required)*
|
||||
|
||||
houseID should be in the format used by the website, road names tend not to be abbreviated.
|
||||
|
||||
|
||||
## Example
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: croydon_gov_uk
|
||||
args:
|
||||
postcode: "CR0 2EG"
|
||||
houseID: "23B Howard Road"
|
||||
```
|
||||
|
||||
Note: Croydon website stops responding if repeated queries are made in quick succession. This shouldn't be an issue in normal use where HA is querying once per day, but repeated HA restarts may result in schedules not being returned.
|
||||
Reference in New Issue
Block a user