Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 1.14 KB

File metadata and controls

57 lines (48 loc) · 1.14 KB

BIR - Bergensområdets Interkommunale Renovasjonsselskap

waste_collection_schedule:
  sources:
    - name: bir_no
      args:
        street_name: ""
        house_number: ""
        house_letter: ""

Configuration Variables

street_name
(string) (required)

house_number
(string|Integer) (required)

house_letter
(string) (optional)

The arguments should be written exactly like on the https://bir.no/ website

Example configuration.yaml:

# Waste collection
waste_collection_schedule:
  sources:
    - name: bir_no
      args:
        street_name: "Alf Bondes Veg"
        house_number: "13"
        house_letter: "B"
      customize:
        - type: blue bin
          alias: Papir
        - type: green bin
          alias: Restavfall

# Optional Sensors
sensor:
  - platform: waste_collection_schedule
    name: next_collection
  - platform: waste_collection_schedule
    name: waste_collection_garbage
    details_format: upcoming
    types:
      - Restavfall
  - platform: waste_collection_schedule
    name: waste_collection_paper
    details_format: upcoming
    types:
      - Papir og plastemballasje