mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 02:04:22 +01:00
Add ICS documentation for Landkreis Amberg-Sulzbach
This commit is contained in:
@@ -841,6 +841,7 @@ Waste collection schedules in the following formats and countries are supported.
|
||||
- [Kronberg im Taunus](/doc/source/abfallnavi_de.md) / kronberg.de
|
||||
- [KV Cochem-Zell](/doc/source/buergerportal_de.md) / cochem-zell-online.de
|
||||
- [KWU Entsorgung Landkreis Oder-Spree](/doc/source/kwu_de.md) / kwu-entsorgung.de
|
||||
- [Landkreis Amberg-Sulzbach](/doc/ics/landkreis_as_de.md) / landkreis-as.de
|
||||
- [Landkreis Anhalt-Bitterfeld](/doc/ics/abikw_de.md) / abikw.de
|
||||
- [Landkreis Ansbach](/doc/source/awido_de.md) / landkreis-ansbach.de
|
||||
- [Landkreis Aschaffenburg](/doc/source/awido_de.md) / landkreis-aschaffenburg.de
|
||||
|
||||
44
doc/ics/landkreis_as_de.md
Normal file
44
doc/ics/landkreis_as_de.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# Landkreis Amberg-Sulzbach
|
||||
|
||||
Landkreis Amberg-Sulzbach 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
|
||||
|
||||
- Goto <https://landkreis-as.de/abfallwirtschaft/abfuhrtermine.php> and select your location.
|
||||
- Click on `Kalenderübersicht anzegen`.
|
||||
- Right click -> copy link address on the `exportieren` link.
|
||||
- Replace the `url` in the example configuration with this link.
|
||||
- You can also use the `regex` to strip unwanted text from the event summary.
|
||||
|
||||
## Examples
|
||||
|
||||
### Sulzenbach-Rosenberg Am Anger (no regex)
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: ics
|
||||
args:
|
||||
url: https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_sulzbach-rosenberg8.ics
|
||||
```
|
||||
### Freudenberg (regex strip after `|`)
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: ics
|
||||
args:
|
||||
regex: (.*?)\s+\|.*
|
||||
url: https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_freudenberg.ics
|
||||
```
|
||||
### Ensdorf (regex also strip `! vorgefahren !`)
|
||||
|
||||
```yaml
|
||||
waste_collection_schedule:
|
||||
sources:
|
||||
- name: ics
|
||||
args:
|
||||
regex: (.*?)\s+(\||\!).*
|
||||
url: https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_ensdorf.ics
|
||||
```
|
||||
17
doc/ics/yaml/landkreis_as_de.yaml
Normal file
17
doc/ics/yaml/landkreis_as_de.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
title: Landkreis Amberg-Sulzbach
|
||||
url: https://landkreis-as.de
|
||||
howto: |
|
||||
- Goto <https://landkreis-as.de/abfallwirtschaft/abfuhrtermine.php> and select your location.
|
||||
- Click on `Kalenderübersicht anzegen`.
|
||||
- Right click -> copy link address on the `exportieren` link.
|
||||
- Replace the `url` in the example configuration with this link.
|
||||
- You can also use the `regex` to strip unwanted text from the event summary.
|
||||
test_cases:
|
||||
Sulzenbach-Rosenberg Am Anger (no regex):
|
||||
url: "https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_sulzbach-rosenberg8.ics"
|
||||
Freudenberg (regex strip after `|`):
|
||||
url: "https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_freudenberg.ics"
|
||||
regex: (.*?)\s+\|.*
|
||||
Ensdorf (regex also strip `! vorgefahren !`):
|
||||
url: "https://landkreis-as.de/abfallwirtschaft/abfuhrtermine_kalender_ensdorf.ics"
|
||||
regex: (.*?)\s+(\||\!).*
|
||||
@@ -201,6 +201,7 @@ This source has been successfully tested with the following service providers:
|
||||
- [Herten (durth-roos.de)](/doc/ics/herten_de.md) / herten.de
|
||||
- [Kreis Steinburg](/doc/ics/steinburg_de.md) / steinburg.de
|
||||
- [Kreisstadt Groß-Gerau](/doc/ics/gross_gerau_de.md) / gross-gerau.de
|
||||
- [Landkreis Amberg-Sulzbach](/doc/ics/landkreis_as_de.md) / landkreis-as.de
|
||||
- [Landkreis Anhalt-Bitterfeld](/doc/ics/abikw_de.md) / abikw.de
|
||||
- [Landkreis Böblingen](/doc/ics/abfall_app_net.md) / lrabb.de
|
||||
- [Landkreis Hameln-Pyrmont](/doc/ics/hameln_pyrmont_de.md) / hameln-pyrmont.de
|
||||
|
||||
Reference in New Issue
Block a user