Skip to content

Commit

Permalink
add ICS sources kremstadt and waidhofen, AT
Browse files Browse the repository at this point in the history
  • Loading branch information
5ila5 committed Dec 29, 2024
1 parent 0214b80 commit 2c59855
Show file tree
Hide file tree
Showing 11 changed files with 345 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ If your service provider is not listed, feel free to open a [source request issu
- [Burgenländischer Müllverband](/doc/source/bmv_at.md) / bmv.at
- [Burgschleinitz-Kühnring](/doc/source/citiesapps_com.md) / burgschleinitz-kuehnring.at
- [Bürg-Vöstenhof](/doc/source/citiesapps_com.md) / buerg-voestenhof.at
- [City of Krems](/doc/ics/kremsstadt_umweltverbaende_at.md) / kremsstadt.umweltverbaende.at
- [Dechantskirchen](/doc/source/citiesapps_com.md) / dechantskirchen.gv.at
- [Dellach](/doc/ics/muellapp_com.md) / muellapp.com
- [Dellach im Drautal](/doc/ics/muellapp_com.md) / muellapp.com
Expand Down Expand Up @@ -574,6 +575,7 @@ If your service provider is not listed, feel free to open a [source request issu
- [Vorderstoder](/doc/source/citiesapps_com.md) / vorderstoder.ooe.gv.at
- [Völkermarkt](/doc/ics/muellapp_com.md) / muellapp.com
- [Völkermarkt](/doc/source/citiesapps_com.md) / voelkermarkt.gv.at
- [Waidhofen an der Ybbs](/doc/ics/waidhofen_at.md) / waidhofen.at
- [Walpersbach](/doc/source/citiesapps_com.md) / walpersbach.gv.at
- [Wartberg ob der Aist](/doc/source/citiesapps_com.md) / wartberg-aist.at
- [Wattens](/doc/ics/muellapp_com.md) / muellapp.com
Expand Down
12 changes: 12 additions & 0 deletions custom_components/waste_collection_schedule/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,12 @@
"default_params": {},
"id": "citiesapps_com"
},
{
"title": "City of Krems",
"module": "ics",
"default_params": {},
"id": "ics_kremsstadt_umweltverbaende_at"
},
{
"title": "Dechantskirchen",
"module": "citiesapps_com",
Expand Down Expand Up @@ -3340,6 +3346,12 @@
"default_params": {},
"id": "citiesapps_com"
},
{
"title": "Waidhofen an der Ybbs",
"module": "ics",
"default_params": {},
"id": "ics_waidhofen_at"
},
{
"title": "Walpersbach",
"module": "citiesapps_com",
Expand Down
84 changes: 84 additions & 0 deletions custom_components/waste_collection_schedule/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1770,6 +1770,48 @@
},
"data_description": {}
},
"args_ics_kremsstadt_umweltverbaende_at": {
"title": "Quelle konfigurieren",
"description": "Konfiguriere deinen Service Provider. \n\n- Besuchen Sie https://awa.abfuhrtermine.at und wählen Sie Ihren Standort.\n- Klicken Sie mit der rechten Maustaste auf den 'Termine {YEAR}'-Button und kopieren Sie den Link.\n- Verwenden Sie diesen Link als `url`-Parameter.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/kremsstadt_umweltverbaende_at.md",
"data": {
"calendar_title": "Kalender Titel",
"file": "Datei",
"headers": "Headers",
"method": "Methode",
"offset": "Offset",
"params": "Parameter",
"regex": "Regulärer Ausdruck",
"split_at": "Trennen bei",
"title_template": "Titelvorlage",
"url": "URL",
"verify_ssl": "SSL-Verifizierung aktivieren",
"version": "Version",
"year_field": "Jahresfeld"
},
"data_description": {
"calendar_title": "Ein lesbarerer oder benutzerfreundlicherer Name für den Müllkalender. Wenn nichts angegeben wird, wird der Name der Quelle verwendet."
}
},
"reconfigure_ics_kremsstadt_umweltverbaende_at": {
"title": "Quelle Neu Konfigurieren",
"description": "Konfiguriere deinen Service Provider. \n\n- Besuchen Sie https://awa.abfuhrtermine.at und wählen Sie Ihren Standort.\n- Klicken Sie mit der rechten Maustaste auf den 'Termine {YEAR}'-Button und kopieren Sie den Link.\n- Verwenden Sie diesen Link als `url`-Parameter.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/kremsstadt_umweltverbaende_at.md",
"data": {
"calendar_title": "Kalender Titel",
"file": "Datei",
"headers": "Headers",
"method": "Methode",
"offset": "Offset",
"params": "Parameter",
"regex": "Regulärer Ausdruck",
"split_at": "Trennen bei",
"title_template": "Titelvorlage",
"url": "URL",
"verify_ssl": "SSL-Verifizierung aktivieren",
"version": "Version",
"year_field": "Jahresfeld"
},
"data_description": {}
},
"args_bad_eisenkappel_info": {
"title": "Quelle konfigurieren",
"description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bad_eisenkappel_info.md",
Expand Down Expand Up @@ -2234,6 +2276,48 @@
},
"data_description": {}
},
"args_ics_waidhofen_at": {
"title": "Quelle konfigurieren",
"description": "Konfiguriere deinen Service Provider. \n\n- Besuchen Sie https://m.abfuhrtermine.at/ und wählen Sie Ihren Standort.\n- Klicken Sie mit der rechten Maustaste auf den `Termine importieren`-Button und kopieren Sie den Link.\n- Verwenden Sie diesen Link als `url`-Parameter.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/waidhofen_at.md",
"data": {
"calendar_title": "Kalender Titel",
"file": "Datei",
"headers": "Headers",
"method": "Methode",
"offset": "Offset",
"params": "Parameter",
"regex": "Regulärer Ausdruck",
"split_at": "Trennen bei",
"title_template": "Titelvorlage",
"url": "URL",
"verify_ssl": "SSL-Verifizierung aktivieren",
"version": "Version",
"year_field": "Jahresfeld"
},
"data_description": {
"calendar_title": "Ein lesbarerer oder benutzerfreundlicherer Name für den Müllkalender. Wenn nichts angegeben wird, wird der Name der Quelle verwendet."
}
},
"reconfigure_ics_waidhofen_at": {
"title": "Quelle Neu Konfigurieren",
"description": "Konfiguriere deinen Service Provider. \n\n- Besuchen Sie https://m.abfuhrtermine.at/ und wählen Sie Ihren Standort.\n- Klicken Sie mit der rechten Maustaste auf den `Termine importieren`-Button und kopieren Sie den Link.\n- Verwenden Sie diesen Link als `url`-Parameter.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/waidhofen_at.md",
"data": {
"calendar_title": "Kalender Titel",
"file": "Datei",
"headers": "Headers",
"method": "Methode",
"offset": "Offset",
"params": "Parameter",
"regex": "Regulärer Ausdruck",
"split_at": "Trennen bei",
"title_template": "Titelvorlage",
"url": "URL",
"verify_ssl": "SSL-Verifizierung aktivieren",
"version": "Version",
"year_field": "Jahresfeld"
},
"data_description": {}
},
"args_wsz_moosburg_at": {
"title": "Quelle konfigurieren",
"description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/wsz_moosburg_at.md",
Expand Down
84 changes: 84 additions & 0 deletions custom_components/waste_collection_schedule/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1788,6 +1788,48 @@
},
"data_description": {}
},
"args_ics_kremsstadt_umweltverbaende_at": {
"title": "Configure Source",
"description": "Configure your service provider. \n\n- Visit https://awa.abfuhrtermine.at and select your location. \n- Right click -> copy link address on the 'Termine {YEAR}' button.\n- Use this URL as the `url` parameter.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/kremsstadt_umweltverbaende_at.md.",
"data": {
"calendar_title": "Calendar Title",
"file": "File",
"headers": "Headers",
"method": "Method",
"offset": "Offset",
"params": "Parameters",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verify Ssl",
"version": "Version",
"year_field": "Year Field"
},
"data_description": {
"calendar_title": "A more readable, or user-friendly, name for the waste calendar. If nothing is provided, the name returned by the source will be used."
}
},
"reconfigure_ics_kremsstadt_umweltverbaende_at": {
"title": "Reconfigure Source",
"description": "Configure your service provider. \n\n- Visit https://awa.abfuhrtermine.at and select your location. \n- Right click -> copy link address on the 'Termine {YEAR}' button.\n- Use this URL as the `url` parameter.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/kremsstadt_umweltverbaende_at.md.",
"data": {
"calendar_title": "Calendar Title",
"file": "File",
"headers": "Headers",
"method": "Method",
"offset": "Offset",
"params": "Parameters",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verify Ssl",
"version": "Version",
"year_field": "Year Field"
},
"data_description": {}
},
"args_bad_eisenkappel_info": {
"title": "Configure Source",
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bad_eisenkappel_info.md.",
Expand Down Expand Up @@ -2252,6 +2294,48 @@
},
"data_description": {}
},
"args_ics_waidhofen_at": {
"title": "Configure Source",
"description": "Configure your service provider. \n\n- Visit https://m.abfuhrtermine.at/ and select your location. \n- Right click -> copy link address on the `Termine importieren` button.\n- Use this URL as the `url` parameter.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/waidhofen_at.md.",
"data": {
"calendar_title": "Calendar Title",
"file": "File",
"headers": "Headers",
"method": "Method",
"offset": "Offset",
"params": "Parameters",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verify Ssl",
"version": "Version",
"year_field": "Year Field"
},
"data_description": {
"calendar_title": "A more readable, or user-friendly, name for the waste calendar. If nothing is provided, the name returned by the source will be used."
}
},
"reconfigure_ics_waidhofen_at": {
"title": "Reconfigure Source",
"description": "Configure your service provider. \n\n- Visit https://m.abfuhrtermine.at/ and select your location. \n- Right click -> copy link address on the `Termine importieren` button.\n- Use this URL as the `url` parameter.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/waidhofen_at.md.",
"data": {
"calendar_title": "Calendar Title",
"file": "File",
"headers": "Headers",
"method": "Method",
"offset": "Offset",
"params": "Parameters",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verify Ssl",
"version": "Version",
"year_field": "Year Field"
},
"data_description": {}
},
"args_wsz_moosburg_at": {
"title": "Configure Source",
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/wsz_moosburg_at.md.",
Expand Down
84 changes: 84 additions & 0 deletions custom_components/waste_collection_schedule/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -1749,6 +1749,48 @@
},
"data_description": {}
},
"args_ics_kremsstadt_umweltverbaende_at": {
"title": "Configurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- Visit https://awa.abfuhrtermine.at and select your location. \n- Right click -> copy link address on the 'Termine {YEAR}' button.\n- Use this URL as the `url` parameter.\n\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/kremsstadt_umweltverbaende_at.md.",
"data": {
"calendar_title": "Nome Calendario",
"file": "Nome File",
"headers": "Headers",
"method": "Metodo",
"offset": "Offset",
"params": "Parametri",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verifica SSL",
"version": "Versione",
"year_field": "Year Field"
},
"data_description": {
"calendar_title": "Puoi cambiare il nome del calendario della raccolta dei rifiuti, altrimenti di default verra' utilizzato il nome del tuo fornitore di servizi."
}
},
"reconfigure_ics_kremsstadt_umweltverbaende_at": {
"title": "Riconfigurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- Visit https://awa.abfuhrtermine.at and select your location. \n- Right click -> copy link address on the 'Termine {YEAR}' button.\n- Use this URL as the `url` parameter.\n\n\nPer maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/kremsstadt_umweltverbaende_at.md.",
"data": {
"calendar_title": "Nome Calendario",
"file": "Nome File",
"headers": "Headers",
"method": "Metodo",
"offset": "Offset",
"params": "Parametri",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verifica SSL",
"version": "Versione",
"year_field": "Year Field"
},
"data_description": {}
},
"args_bad_eisenkappel_info": {
"title": "Configurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. Maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bad_eisenkappel_info.md.",
Expand Down Expand Up @@ -2213,6 +2255,48 @@
},
"data_description": {}
},
"args_ics_waidhofen_at": {
"title": "Configurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- Visit https://m.abfuhrtermine.at/ and select your location. \n- Right click -> copy link address on the `Termine importieren` button.\n- Use this URL as the `url` parameter.\n\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/waidhofen_at.md.",
"data": {
"calendar_title": "Nome Calendario",
"file": "Nome File",
"headers": "Headers",
"method": "Metodo",
"offset": "Offset",
"params": "Parametri",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verifica SSL",
"version": "Versione",
"year_field": "Year Field"
},
"data_description": {
"calendar_title": "Puoi cambiare il nome del calendario della raccolta dei rifiuti, altrimenti di default verra' utilizzato il nome del tuo fornitore di servizi."
}
},
"reconfigure_ics_waidhofen_at": {
"title": "Riconfigurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- Visit https://m.abfuhrtermine.at/ and select your location. \n- Right click -> copy link address on the `Termine importieren` button.\n- Use this URL as the `url` parameter.\n\n\nPer maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/waidhofen_at.md.",
"data": {
"calendar_title": "Nome Calendario",
"file": "Nome File",
"headers": "Headers",
"method": "Metodo",
"offset": "Offset",
"params": "Parametri",
"regex": "Regex",
"split_at": "Split At",
"title_template": "Title Template",
"url": "Url",
"verify_ssl": "Verifica SSL",
"version": "Versione",
"year_field": "Year Field"
},
"data_description": {}
},
"args_wsz_moosburg_at": {
"title": "Configurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. Maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/wsz_moosburg_at.md.",
Expand Down
22 changes: 22 additions & 0 deletions doc/ics/kremsstadt_umweltverbaende_at.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# City of Krems

City of Krems 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://awa.abfuhrtermine.at> and select your location.
- Right click -> copy link address on the `Termine {YEAR}` button.
- Use this URL as the `url` parameter.

## Examples

### Krems an der Donau

```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://awa.abfuhrtermine.at/webcalzip/Alt%20Rehberg/12/3500/30101
```
22 changes: 22 additions & 0 deletions doc/ics/waidhofen_at.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Waidhofen an der Ybbs

Waidhofen an der Ybbs 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://m.abfuhrtermine.at/> and select your location.
- Right click -> copy link address on the `Termine importieren` button.
- Use this URL as the `url` parameter.

## Examples

### Hauptplatz 1

```yaml
waste_collection_schedule:
sources:
- name: ics
args:
url: https://m.abfuhrtermine.at/icalreminder/Hauptplatz/1/3340/30301
```
17 changes: 17 additions & 0 deletions doc/ics/yaml/kremsstadt_umweltverbaende_at.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: City of Krems
url: https://kremsstadt.umweltverbaende.at/
howto:
en: |
- Visit <https://awa.abfuhrtermine.at> and select your location.
- Right click -> copy link address on the `Termine {YEAR}` button.
- Use this URL as the `url` parameter.
de: |
- Besuchen Sie <https://awa.abfuhrtermine.at> und wählen Sie Ihren Standort.
- Klicken Sie mit der rechten Maustaste auf den `Termine {YEAR}`-Button und kopieren Sie den Link.
- Verwenden Sie diesen Link als `url`-Parameter.
test_cases:
Krems an der Donau:
url: https://awa.abfuhrtermine.at/webcalzip/Alt%20Rehberg/12/3500/30101
Loading

0 comments on commit 2c59855

Please sign in to comment.