Add two services
#1067
-
Hi all, is it possble to add two services? |
Beta Was this translation helpful? Give feedback.
Answered by
5ila5
Jul 8, 2023
Replies: 1 comment 2 replies
-
you can add multiple sources like this: waste_collection_schedule:
sources:
- name: bsr_de
args:
abf_strasse: "Bahnhofstr., 12159 Berlin (Tempelhof-Schöneberg)"
abf_hausnr: 1
- name: bsr_de
args:
abf_strasse: "Bahnhofstr., 12159 Berlin (Tempelhof-Schöneberg)"
abf_hausnr: 2
- name: abfall_io
args:
key: "8215c62763967916979e0e8566b6172e"
f_id_kommune: 2999
f_id_strasse: 1087 This will add 3 different calendars. If you want to change the names of the calendars you can do this by adding the waste_collection_schedule:
sources:
- name: bsr_de
args:
abf_strasse: "Bahnhofstr., 12159 Berlin (Tempelhof-Schöneberg)"
abf_hausnr: 1
calendar_title: Haus 1
- name: bsr_de
args:
abf_strasse: "Bahnhofstr., 12159 Berlin (Tempelhof-Schöneberg)"
abf_hausnr: 2
calendar_title: Haus 2
- name: abfall_io
args:
key: "8215c62763967916979e0e8566b6172e"
f_id_kommune: 2999
f_id_strasse: 1087
calendar_title: Haus 1 ALBA |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
5ila5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can add multiple sources like this:
This will add 3 different calendars.
If you want to change the names of the calendars you can do this by adding the
calendar_title
attribute: