mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 02:04:22 +01:00
1.4 KiB
1.4 KiB
Mid-Sussex District Council
Support for schedules provided by Mid-Sussex District Council, UK.
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: midsussex_gov_uk
args:
house_name: NAME
house_number: NUMBER
street: STREET
postcode: POSTCODE
Configuration Variables
house_name
(string) (optional)
house_number
(string) (optional)
If house_name is not provided then house_number becomes (required)
street
(string) (required)
postcode
(string) (required)
Example
waste_collection_schedule:
sources:
- name: midsussex_gov_uk
args:
house_name: Oaklands
street: Oaklands Road
postcode: RH16 1SS
waste_collection_schedule:
sources:
- name: midsussex_gov_uk
args:
house_number: 6
street: Withypitts
postcode: RH10 4PJ
How to get the source arguments
Search for your collection schedule on the address on the Mid-Sussex District Council site to see how they format your address. General rule seems to be HOUSE_NAME, HOUSE_NUMBER STREET POSTCODE but it can vary for multi-occupancy buildings etc, so you may need to adjust which parts of the address are used for each arg.