mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-20 23:04:13 +01:00
1.4 KiB
1.4 KiB
Fife Council
Support for schedules provided by Fife Council, serving Fife Council, UK.
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: fife_gov_uk
args:
uprn: "UPRN"
Configuration Variables
uprn
(String | Integer) (required)
Example
waste_collection_schedule:
sources:
- name: fife_gov_uk
args:
uprn: "320069189"
How to find your UPRN
An easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details. Otherwise you can inspect the web requests the Fife Council website makes when entering in your postcode and then selecting your address.
A more complete example with type names shown
Here's a more complete example of the sources to demonstrate the type names that come back from Fife's API (at time of writing):
waste_collection_schedule:
sources:
- name: fife_gov_uk
args:
uprn: "320069189"
customize:
- type: "Food and Garden Waste / Brown Bin"
alias: "Brown Bin"
- type: "Landfill / Blue Bin"
alias: "Blue Bin"
- type: "Paper and Cardboard / Grey Bin"
alias: "Grey Bin"
- type: "Cans and Plastics / Green Bin"
alias: "Green Bin"
day_switch_time: "18:00"