Files
hacs_waste_collection_schedule/doc/source/highland_gov_uk.md
5ila5 b182d620cd fix highland_gov_uk (breaks exsiting configurations)
Breaks existing configuration as the new implementeation needs a UPRN While the old needed a different internal ID
2024-06-22 13:54:51 +02:00

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.