mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 04:06:03 +01:00
fix documentaiont of source 'multiple'
This commit is contained in:
@@ -13,11 +13,11 @@ waste_collection_schedule:
|
||||
sources:
|
||||
- name: multiple
|
||||
args:
|
||||
- SOURCE_NAME: SOURCE_ARGS
|
||||
- SOURCE_NAME: SOURCE_ARGS
|
||||
SOURCE_NAME: SOURCE_ARGS
|
||||
SOURCE_NAME: SOURCE_ARGS
|
||||
...
|
||||
# or (can be mixed)
|
||||
- SOURCE_NAME:
|
||||
SOURCE_NAME:
|
||||
- SOURCE_ARGS
|
||||
- SOURCE_ARGS
|
||||
...
|
||||
@@ -28,7 +28,7 @@ waste_collection_schedule:
|
||||
**SOURCE_NAME**
|
||||
*(string) (required)*
|
||||
|
||||
The name of the source to include.
|
||||
The name of the source to include. **Note:** You cannot use the same source name multiple times (use the second syntax instead).
|
||||
|
||||
**SOURCE_ARGS**
|
||||
*(dict) (required)*
|
||||
@@ -44,7 +44,7 @@ waste_collection_schedule:
|
||||
sources:
|
||||
- name: multiple
|
||||
args:
|
||||
- static:
|
||||
static:
|
||||
- type: "Dates only"
|
||||
dates:
|
||||
- "2022-01-01"
|
||||
@@ -63,7 +63,7 @@ waste_collection_schedule:
|
||||
sources:
|
||||
- name: multiple
|
||||
args:
|
||||
- ics:
|
||||
ics:
|
||||
- url: "https://servicebetrieb.koblenz.de/abfallwirtschaft/entsorgungstermine-digital/entsorgungstermine-2023-digital/altstadt-2023.ics?cid=2ui7"
|
||||
- url: "https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics"
|
||||
split_at: "\\, (?:and )?|(?: and )"
|
||||
@@ -75,12 +75,13 @@ waste_collection_schedule:
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: multiple
|
||||
- static:
|
||||
args:
|
||||
static:
|
||||
type: "Dates only"
|
||||
dates:
|
||||
- "2022-01-01"
|
||||
- "2022-01-01"
|
||||
- ics:
|
||||
ics:
|
||||
url: "https://sperrmuell.erlensee.de/?type=reminder"
|
||||
method: "POST"
|
||||
params:
|
||||
@@ -105,13 +106,14 @@ waste_collection_schedule:
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: multiple
|
||||
- lund_se:
|
||||
args:
|
||||
lund_se:
|
||||
street_address: "Lokföraregatan 7, LUND (19120)"
|
||||
- meinawb_de:
|
||||
meinawb_de:
|
||||
city: "Oberzissen"
|
||||
street: "Lindenstrasse"
|
||||
house_number: "1"
|
||||
- jumomind_de:
|
||||
jumomind_de:
|
||||
service_id: "mymuell"
|
||||
city: "Bad Wünnenberg-Bleiwäsche"
|
||||
```
|
||||
@@ -122,13 +124,14 @@ waste_collection_schedule:
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: multiple
|
||||
- lund_se:
|
||||
args:
|
||||
lund_se:
|
||||
street_address: "Lokföraregatan 7, LUND (19120)"
|
||||
- nawma_sa_gov_au:
|
||||
nawma_sa_gov_au:
|
||||
street_number: "128"
|
||||
street_name: "Bridge Road"
|
||||
suburb: "Pooraka"
|
||||
- static:
|
||||
static:
|
||||
- type: "Dates only"
|
||||
dates:
|
||||
- "2024-01-01"
|
||||
|
||||
Reference in New Issue
Block a user