forked from mampfes/hacs_waste_collection_schedule
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
173 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Valleyfield, Québec | ||
|
||
Valleyfield, Québec is supported by the generic [ICS](/doc/source/ics.md) source. For all available configuration options, please refer to the source description. | ||
|
||
|
||
## How to get the configuration arguments | ||
|
||
- Visit <https://www.ville.valleyfield.qc.ca/calendrier-electronique-collecte> and open the IOS tab. | ||
- Copy the google calendar ICS link of your sector. | ||
- Use this link as the `url` parameter. | ||
- You can use the regex `Collecte (?:du|des) (.*)` to shorten the event titles (will remove the `Collecte du `/`Collecte des ` prefix). | ||
|
||
## Examples | ||
|
||
### Secteur 3 | ||
|
||
```yaml | ||
waste_collection_schedule: | ||
sources: | ||
- name: ics | ||
args: | ||
regex: Collecte (?:du|des) (.*) | ||
url: https://calendar.google.com/calendar/ical/qpsmjqh1odeo11geptq6fp3dis%40group.calendar.google.com/public/basic.ics | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: Valleyfield, Québec | ||
url: https://www.ville.valleyfield.qc.ca | ||
howto: | ||
en: | | ||
- Visit <https://www.ville.valleyfield.qc.ca/calendrier-electronique-collecte> and open the IOS tab. | ||
- Copy the google calendar ICS link of your sector. | ||
- Use this link as the `url` parameter. | ||
- You can use the regex `Collecte (?:du|des) (.*)` to shorten the event titles (will remove the `Collecte du `/`Collecte des ` prefix). | ||
test_cases: | ||
Secteur 3: | ||
url: https://calendar.google.com/calendar/ical/qpsmjqh1odeo11geptq6fp3dis%40group.calendar.google.com/public/basic.ics | ||
regex: Collecte (?:du|des) (.*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.