Files
hacs_waste_collection_schedule/doc/source/nsomerset_gov_uk.md
Andrew Beaton 6cc43184be Add North Somerset council
Adding of collection data for North Somerset council, covering Clevedon, Nailsea, Portishead and Weston super Mare.
2022-06-07 13:53:18 +01:00

1.9 KiB

North Somerset Council

Support for schedules provided by North Somerset Council, serving Clevedon, Nailsea, Portishead and Weston super Mare, along with numerous villages.

If collection data is available for the address provided, it will return food, rubbish and recylcing waste collection dates.


Configuration via configuration.yaml

waste_collection_schedule:
    sources:
    - name: nsomerset_gov_uk
      args:
        postcode: POSTCODE
        uprn:     UPRN

Configuration Variables

postcode
(string) (required)

uprn
(string) (required)


Examples

Conifguration basic

waste_collection_schedule:
    sources:
    - name: nsomerset_gov_uk
      args:
        postcode: BS231UJ
        uprn: 24009468

Configuration detailed

waste_collection_schedule:
 sources:
   - name: nsomerset_gov_uk
     args:
       postcode: BS231UJ
       uprn: 24009468
     customize:
       - type: brown bin
         alias: Food
       - type: green bin
         alias: Recylcing
       - type: black bin
         alias: Rubbish
 fetch_time: "01:00"
 random_fetch_time_offset: 30
 day_switch_time: "10:00"

Sensors

  - platform: waste_collection_schedule
    name: next_rubbish_collection
    types:
      - Rubbish
    add_days_to: true

  - platform: waste_collection_schedule
    name: next_recycling_collection
    types:
      - Recycling

  - platform: waste_collection_schedule
    name: next_food_collection
    types:
      - Food

How to find your UPRN

An easy way to discover your Unique Property Reference Number (UPRN) is by going to Find My Address and providng your address details. Otherwise you can inspect the source code on the North Somerset waste collection website after entering your postcode.