umwelverbaende_at now supports calendar option + ties fetch next year in Dec

This commit is contained in:
5ila5
2023-12-21 18:18:57 +01:00
committed by 5ila5
parent 5bc0fd47b2
commit a21168b5cd
2 changed files with 63 additions and 12 deletions

View File

@@ -10,7 +10,8 @@ waste_collection_schedule:
- name: umweltverbaende_at
args:
district: DISTRICT_ARG
municipal: MUNICIPAL/RAYON
municipal: MUNICIPAL
calendar: CALENDAR
```
**district**
@@ -19,12 +20,19 @@ waste_collection_schedule:
Lower Austrian district, see table below for valid DISTRICT_ARG
**muncipal**
*(string) (required)*
*(string) (optional)*
Municipal within the district for which the collection schedule is required. The municipal should be spelt as it appears on the Abholtermine page. There is no need to include the "Marktgemeinde", "Gemeinde", or "Stadtgeminde" text.
Is not needed for Stadt Krems you should provide a calendar for each Rayon.
*deprecated (still works for Stadt Krems)*:
For Stadt Krems, the district is divided into 12 Rayon, so supply your Rayon name for the municipal arg. For example: _Rehberg (Rayon 30)_ would be `Rehberg`, whereas _Innenstadt 2 (Rayon 200)_ would be `Innenstadt 2`
**calendar**
(string) (optional)
If you see multiple collection calendars for your municipal (different streets or Rayons), you can specify the calendar name here. The calendar name should be spelt as it appears on the Abholtermine page below `Kalenderansicht`.
## Examples
@@ -37,6 +45,7 @@ waste_collection_schedule:
municipal: "Marchegg" # Municipal
```
```yaml
waste_collection_schedule:
sources:
@@ -44,8 +53,28 @@ waste_collection_schedule:
args:
district: "waidhofen" # Waidhofen/Thaya
municipal: "Kautzen" # Municipal
```
```yaml
waaste_collection_schedule:
sources:
- name: umweltverbaende_at
args:
district: "krems" # Krems
municipal: "Langenlois" # Municipal
calendar: "Gobelsburg, Mittelberg, Reith, Schiltern, Zöbing" # Rayon
```
```yaml
waste_collection_schedule:
sources:
- name: umweltverbaende_at
args:
district: "kermsstadt" # Stadt Krems
calendar: "Rehberg" # Rayon
```
*Old Version*
```yaml
waste_collection_schedule:
sources: