mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 03:04:09 +01:00
fix: add regex to edg_de documentation example (#1645)
* fix: add regex to edg_de documentation example * run ./update_docu_links.py --------- Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
This commit is contained in:
@@ -8,6 +8,8 @@ EDG Entsorgung Dortmund is supported by the generic [ICS](/doc/source/ics.md) so
|
||||
- Goto <https://www.edg.de/de/entsorgungsdienstleistungen/rein-damit/abfallkalender/abfallkalender.htm> and select your location and press `weiter`.
|
||||
- Click on `URL in die Zwischenablage kopieren` to copy the ical url.
|
||||
- Replace the `url` in the example configuration with this link.
|
||||
- Leave the `regex` untouched
|
||||
- You can use the different types as `Bioabfall`, `Altpapier`, `Restabfall` and `Wertstoffe`
|
||||
|
||||
## Examples
|
||||
|
||||
@@ -18,5 +20,6 @@ waste_collection_schedule:
|
||||
sources:
|
||||
- name: ics
|
||||
args:
|
||||
regex: ^(\w*) \d* .*
|
||||
url: https://kundenportal.edg.de/WasteManagementDortmund/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1271001001&AboID=66930&Fra=P;R;B;W
|
||||
```
|
||||
|
||||
@@ -4,6 +4,9 @@ howto: |
|
||||
- Goto <https://www.edg.de/de/entsorgungsdienstleistungen/rein-damit/abfallkalender/abfallkalender.htm> and select your location and press `weiter`.
|
||||
- Click on `URL in die Zwischenablage kopieren` to copy the ical url.
|
||||
- Replace the `url` in the example configuration with this link.
|
||||
- Leave the `regex` untouched
|
||||
- You can use the different types as `Bioabfall`, `Altpapier`, `Restabfall` and `Wertstoffe`
|
||||
test_cases:
|
||||
Baackweg 1:
|
||||
url: "https://kundenportal.edg.de/WasteManagementDortmund/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1271001001&AboID=66930&Fra=P;R;B;W"
|
||||
url: "https://kundenportal.edg.de/WasteManagementDortmund/WasteManagementServiceServlet?ApplicationName=Calendar&SubmitAction=sync&StandortID=1271001001&AboID=66930&Fra=P;R;B;W"
|
||||
regex: "^(\\w*) \\d* .*"
|
||||
Reference in New Issue
Block a user