Files
hacs_waste_collection_schedule/doc/source/bir_no.md
odin-h 70392d5636 New source: BIR (#1397)
* New source: BIR

* bir_no improvements

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2023-11-09 13:05:24 +01:00

1.2 KiB

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