mirror of
https://github.com/sascha-hemi/hacs_waste_collection_schedule.git
synced 2026-03-21 02:04:22 +01:00
add extra_info to muellabfuhr_de
This commit is contained in:
@@ -835,6 +835,7 @@ If your service provider is not listed, feel free to open a [source request issu
|
||||
- [Brombachtal](/doc/source/reso_gmbh_de.md) / reso-gmbh.de
|
||||
- [Bromskirchen](/doc/source/lobbe_app.md) / lobbe.app
|
||||
- [Burgenland (Landkreis)](/doc/source/app_abfallplus_de.md) / Abfall+ App: udb
|
||||
- [Burgenlandkreis](/doc/source/muellabfuhr_de.md) / portal.muellabfuhr-deutschland.de
|
||||
- [Burgwald](/doc/source/lobbe_app.md) / lobbe.app
|
||||
- [Büren](/doc/source/lobbe_app.md) / lobbe.app
|
||||
- [Bürgerportal](/doc/source/buergerportal_de.md) / c-trace.de
|
||||
@@ -851,6 +852,7 @@ If your service provider is not listed, feel free to open a [source request issu
|
||||
- [Darmstadt (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
|
||||
- [Darmstadt-Dieburg (ZAW)](/doc/source/jumomind_de.md) / zaw-online.de
|
||||
- [Delbrück](/doc/source/lobbe_app.md) / lobbe.app
|
||||
- [Dessau-Rosslau](/doc/source/muellabfuhr_de.md) / portal.muellabfuhr-deutschland.de
|
||||
- [Diemelsee](/doc/source/lobbe_app.md) / lobbe.app
|
||||
- [Diemelstadt](/doc/source/lobbe_app.md) / lobbe.app
|
||||
- [Dillingen Saar](/doc/source/dillingen_saar_de.md) / dillingen-saar.de
|
||||
@@ -1036,6 +1038,7 @@ If your service provider is not listed, feel free to open a [source request issu
|
||||
- [Landkreis Harz](/doc/source/jumomind_de.md) / enwi-hz.de
|
||||
- [Landkreis Heidenheim](/doc/ics/abfall_hdh_de.md) / abfall-hdh.de
|
||||
- [Landkreis Heilbronn](/doc/source/abfall_io.md) / landkreis-heilbronn.de
|
||||
- [Landkreis Hildburghausen](/doc/source/muellabfuhr_de.md) / portal.muellabfuhr-deutschland.de
|
||||
- [Landkreis Kelheim](/doc/source/awido_de.md) / landkreis-kelheim.de
|
||||
- [Landkreis Kronach](/doc/source/awido_de.md) / landkreis-kronach.de
|
||||
- [Landkreis Kulmbach](/doc/source/awido_de.md) / landkreis-kulmbach.de
|
||||
@@ -1068,11 +1071,13 @@ If your service provider is not listed, feel free to open a [source request issu
|
||||
- [Landkreis soest](/doc/ics/abfall_app_net.md) / kreis-soest.de
|
||||
- [Landkreis Stade](/doc/ics/landkreis_stade_de.md) / landkreis-stade.de
|
||||
- [Landkreis Stendal](/doc/ics/abfall_app_net.md) / landkreis-stendal.de
|
||||
- [Landkreis Sömmerda](/doc/source/muellabfuhr_de.md) / portal.muellabfuhr-deutschland.de
|
||||
- [Landkreis Südliche Weinstraße](/doc/source/awido_de.md) / suedliche-weinstrasse.de
|
||||
- [Landkreis Tirschenreuth](/doc/source/awido_de.md) / kreis-tir.de
|
||||
- [Landkreis Tübingen](/doc/source/awido_de.md) / abfall-kreis-tuebingen.de
|
||||
- [Landkreis Vogtland](/doc/ics/vogtlandkreis_de.md) / vogtlandkreis.de
|
||||
- [Landkreis Weißenburg-Gunzenhausen](/doc/source/abfall_io.md) / landkreis-wug.de
|
||||
- [Landkreis Wittenberg](/doc/source/muellabfuhr_de.md) / portal.muellabfuhr-deutschland.de
|
||||
- [Landkreis Wittmund](/doc/source/landkreis_wittmund_de.md) / landkreis-wittmund.de
|
||||
- [Landkreis Wittmund (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
|
||||
- [Landkreis Wittmund (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
|
||||
@@ -1164,6 +1169,7 @@ If your service provider is not listed, feel free to open a [source request issu
|
||||
- [Rottweil](/doc/source/app_abfallplus_de.md) / Abfall+ App: willkommen
|
||||
- [RSAG Rhein-Sieg-Kreis](/doc/source/muellmax_de.md) / rsag.de
|
||||
- [Rüthen](/doc/source/lobbe_app.md) / lobbe.app
|
||||
- [Saalekreis](/doc/source/muellabfuhr_de.md) / portal.muellabfuhr-deutschland.de
|
||||
- [Salzgitter (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
|
||||
- [Salzlandkreis](/doc/source/app_abfallplus_de.md) / Abfall+ App: abfallslk
|
||||
- [Schalksmühle](/doc/source/lobbe_app.md) / lobbe.app
|
||||
@@ -1246,6 +1252,7 @@ If your service provider is not listed, feel free to open a [source request issu
|
||||
- [Warstein](/doc/source/lobbe_app.md) / lobbe.app
|
||||
- [WBO Wirtschaftsbetriebe Oberhausen](/doc/source/abfallnavi_de.md) / wbo-online.de
|
||||
- [Wegberg (MyMuell App)](/doc/source/jumomind_de.md) / mymuell.de
|
||||
- [Weimarer Land](/doc/source/muellabfuhr_de.md) / portal.muellabfuhr-deutschland.de
|
||||
- [Wenden](/doc/ics/abfuhrtermine_info.md) / gemeinde-wenden.de
|
||||
- [Werdohl](/doc/source/lobbe_app.md) / lobbe.app
|
||||
- [Wermelskirchen (Service Down)](/doc/source/wermelskirchen_de.md) / wermelskirchen.de
|
||||
|
||||
@@ -4977,6 +4977,14 @@
|
||||
},
|
||||
"id": "app_abfallplus_de"
|
||||
},
|
||||
{
|
||||
"title": "Burgenlandkreis",
|
||||
"module": "muellabfuhr_de",
|
||||
"default_params": {
|
||||
"client": "Burgenlandkreis"
|
||||
},
|
||||
"id": "muellabfuhr_de"
|
||||
},
|
||||
{
|
||||
"title": "Burgwald",
|
||||
"module": "lobbe_app",
|
||||
@@ -5094,6 +5102,14 @@
|
||||
},
|
||||
"id": "lobbe_app"
|
||||
},
|
||||
{
|
||||
"title": "Dessau-Rosslau",
|
||||
"module": "muellabfuhr_de",
|
||||
"default_params": {
|
||||
"client": "Dessau-Rosslau"
|
||||
},
|
||||
"id": "muellabfuhr_de"
|
||||
},
|
||||
{
|
||||
"title": "Diemelsee",
|
||||
"module": "lobbe_app",
|
||||
@@ -6523,6 +6539,14 @@
|
||||
},
|
||||
"id": "abfall_io"
|
||||
},
|
||||
{
|
||||
"title": "Landkreis Hildburghausen",
|
||||
"module": "muellabfuhr_de",
|
||||
"default_params": {
|
||||
"client": "Landkreis Hildburghausen"
|
||||
},
|
||||
"id": "muellabfuhr_de"
|
||||
},
|
||||
{
|
||||
"title": "Landkreis Kelheim",
|
||||
"module": "awido_de",
|
||||
@@ -6753,6 +6777,14 @@
|
||||
"default_params": {},
|
||||
"id": "ics_abfall_app_net"
|
||||
},
|
||||
{
|
||||
"title": "Landkreis S\u00f6mmerda",
|
||||
"module": "muellabfuhr_de",
|
||||
"default_params": {
|
||||
"client": "Landkreis S\u00f6mmerda"
|
||||
},
|
||||
"id": "muellabfuhr_de"
|
||||
},
|
||||
{
|
||||
"title": "Landkreis S\u00fcdliche Weinstra\u00dfe",
|
||||
"module": "awido_de",
|
||||
@@ -6791,6 +6823,14 @@
|
||||
},
|
||||
"id": "abfall_io"
|
||||
},
|
||||
{
|
||||
"title": "Landkreis Wittenberg",
|
||||
"module": "muellabfuhr_de",
|
||||
"default_params": {
|
||||
"client": "Landkreis Wittenberg"
|
||||
},
|
||||
"id": "muellabfuhr_de"
|
||||
},
|
||||
{
|
||||
"title": "Landkreis Wittmund",
|
||||
"module": "landkreis_wittmund_de",
|
||||
@@ -7493,6 +7533,14 @@
|
||||
},
|
||||
"id": "lobbe_app"
|
||||
},
|
||||
{
|
||||
"title": "Saalekreis",
|
||||
"module": "muellabfuhr_de",
|
||||
"default_params": {
|
||||
"client": "Saalekreis"
|
||||
},
|
||||
"id": "muellabfuhr_de"
|
||||
},
|
||||
{
|
||||
"title": "Salzgitter (MyMuell App)",
|
||||
"module": "jumomind_de",
|
||||
@@ -8119,6 +8167,14 @@
|
||||
},
|
||||
"id": "jumomind_de"
|
||||
},
|
||||
{
|
||||
"title": "Weimarer Land",
|
||||
"module": "muellabfuhr_de",
|
||||
"default_params": {
|
||||
"client": "Weimarer Land"
|
||||
},
|
||||
"id": "muellabfuhr_de"
|
||||
},
|
||||
{
|
||||
"title": "Wenden",
|
||||
"module": "ics",
|
||||
|
||||
@@ -5972,9 +5972,9 @@
|
||||
"description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/muellabfuhr_de.md",
|
||||
"data": {
|
||||
"calendar_title": "Kalender Titel",
|
||||
"city": "Ort",
|
||||
"client": "Client",
|
||||
"district": "Ortsteil",
|
||||
"city": "Stadt",
|
||||
"client": "Kunde",
|
||||
"district": "Bezirk",
|
||||
"street": "Straße"
|
||||
},
|
||||
"data_description": {
|
||||
@@ -5986,9 +5986,9 @@
|
||||
"description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/muellabfuhr_de.md",
|
||||
"data": {
|
||||
"calendar_title": "Kalender Titel",
|
||||
"city": "Ort",
|
||||
"client": "Client",
|
||||
"district": "Ortsteil",
|
||||
"city": "Stadt",
|
||||
"client": "Kunde",
|
||||
"district": "Bezirk",
|
||||
"street": "Straße"
|
||||
},
|
||||
"data_description": {}
|
||||
@@ -15613,6 +15613,30 @@
|
||||
"street": "Straße"
|
||||
},
|
||||
"data_description": {}
|
||||
},
|
||||
"args_muellabfuhr_deutschland_de": {
|
||||
"title": "Quelle konfigurieren",
|
||||
"description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/muellabfuhr_deutschland_de.md",
|
||||
"data": {
|
||||
"calendar_title": "Kalender Titel",
|
||||
"city": "Stadt",
|
||||
"district": "Bezirk",
|
||||
"subarea": "Subarea"
|
||||
},
|
||||
"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_muellabfuhr_deutschland_de": {
|
||||
"title": "Quelle Neu Konfigurieren",
|
||||
"description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/muellabfuhr_deutschland_de.md",
|
||||
"data": {
|
||||
"calendar_title": "Kalender Titel",
|
||||
"city": "Stadt",
|
||||
"district": "Bezirk",
|
||||
"subarea": "Subarea"
|
||||
},
|
||||
"data_description": {}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -15613,6 +15613,30 @@
|
||||
"street": "Street"
|
||||
},
|
||||
"data_description": {}
|
||||
},
|
||||
"args_muellabfuhr_deutschland_de": {
|
||||
"title": "Configure Source",
|
||||
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/muellabfuhr_deutschland_de.md.",
|
||||
"data": {
|
||||
"calendar_title": "Calendar Title",
|
||||
"city": "City",
|
||||
"district": "District",
|
||||
"subarea": "Subarea"
|
||||
},
|
||||
"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_muellabfuhr_deutschland_de": {
|
||||
"title": "Reconfigure Source",
|
||||
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/muellabfuhr_deutschland_de.md.",
|
||||
"data": {
|
||||
"calendar_title": "Calendar Title",
|
||||
"city": "City",
|
||||
"district": "District",
|
||||
"subarea": "Subarea"
|
||||
},
|
||||
"data_description": {}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -15588,6 +15588,30 @@
|
||||
"street": "Strada"
|
||||
},
|
||||
"data_description": {}
|
||||
},
|
||||
"args_muellabfuhr_deutschland_de": {
|
||||
"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/muellabfuhr_deutschland_de.md.",
|
||||
"data": {
|
||||
"calendar_title": "Nome Calendario",
|
||||
"city": "Città",
|
||||
"district": "Distretto",
|
||||
"subarea": "Subarea"
|
||||
},
|
||||
"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_muellabfuhr_deutschland_de": {
|
||||
"title": "Riconfigurazione Sorgente",
|
||||
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. Per maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/muellabfuhr_deutschland_de.md.",
|
||||
"data": {
|
||||
"calendar_title": "Nome Calendario",
|
||||
"city": "Città",
|
||||
"district": "Distretto",
|
||||
"subarea": "Subarea"
|
||||
},
|
||||
"data_description": {}
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
|
||||
@@ -2,9 +2,7 @@ from datetime import datetime
|
||||
|
||||
import requests
|
||||
from waste_collection_schedule import Collection # type: ignore[attr-defined]
|
||||
from waste_collection_schedule.exceptions import (
|
||||
SourceArgumentNotFoundWithSuggestions,
|
||||
)
|
||||
from waste_collection_schedule.exceptions import SourceArgumentNotFoundWithSuggestions
|
||||
|
||||
TITLE = "Müllabfuhr Deutschland"
|
||||
DESCRIPTION = "Source for Müllabfuhr, Germany"
|
||||
@@ -43,6 +41,24 @@ PARAM_TRANSLATIONS = {
|
||||
}
|
||||
}
|
||||
|
||||
SERVICE_MAP = [
|
||||
"Landkreis Hildburghausen",
|
||||
"Landkreis Wittenberg",
|
||||
"Burgenlandkreis",
|
||||
"Dessau-Rosslau",
|
||||
"Weimarer Land",
|
||||
"Landkreis Sömmerda",
|
||||
"Saalekreis",
|
||||
]
|
||||
|
||||
EXTRA_INFO = [
|
||||
{
|
||||
"title": district,
|
||||
"default_params": {"client": district},
|
||||
}
|
||||
for district in SERVICE_MAP
|
||||
]
|
||||
|
||||
|
||||
class Source:
|
||||
def __init__(self, client, city, district=None, street=None):
|
||||
|
||||
Reference in New Issue
Block a user