mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-20 23:04:13 +01:00
Breaks existing configuration as the new implementeation needs a UPRN While the old needed a different internal ID
1.4 KiB
1.4 KiB
Highland
Support for schedules provided by Highland, serving Highland, Scotland, UK.
Configuration via configuration.yaml
waste_collection_schedule:
sources:
- name: highland_gov_uk
args:
uprn: UPRN
predict: PREDICT_MULTIPLE_DATES
Configuration Variables
uprn
(String | Integer) (required)
predict
(Boolean) (optional|default=False)
Tries to predict the next collections based on the nextCollection date, and the frequency of the collection. Only returns one date per waste type if set to False. If set to True, it will try to predict the next 10 weeks of collections.
Example
waste_collection_schedule:
sources:
- name: highland_gov_uk
args:
uprn: 130108578
# Implicit
# predict: False
waste_collection_schedule:
sources:
- name: highland_gov_uk
args:
uprn: 130007199
predict: False
waste_collection_schedule:
sources:
- name: highland_gov_uk
args:
uprn: 130066519
predict: True
How to get the source argument
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.
Or by going to uprn.uk and entering your postcode.