Skip to content

Commit

Permalink
add Cuxhaven to abfallnavi_de
Browse files Browse the repository at this point in the history
  • Loading branch information
5ila5 committed Oct 8, 2024
1 parent 01fae46 commit 7cf70ca
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,7 @@ If your service provider is not listed, feel free to open a [source request issu
- [Stadt Arnsberg](/doc/source/c_trace_de.md) / arnsberg.de
- [Stadt Bayreuth](/doc/source/c_trace_de.md) / bayreuth.de
- [Stadt Cottbus](/doc/source/abfallnavi_de.md) / cottbus.de
- [Stadt Cuxhaven](/doc/source/abfallnavi_de.md) / cuxhaven.de
- [Stadt Darmstadt](/doc/source/muellmax_de.md) / darmstadt.de
- [Stadt Detmold](/doc/ics/detmold_de.md) / detmold.de
- [Stadt Dorsten](/doc/source/abfallnavi_de.md) / ebd-dorsten.de
Expand Down
8 changes: 8 additions & 0 deletions custom_components/waste_collection_schedule/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -7769,6 +7769,14 @@
},
"id": "abfallnavi_de"
},
{
"title": "Stadt Cuxhaven",
"module": "abfallnavi_de",
"default_params": {
"service": "cux"
},
"id": "abfallnavi_de"
},
{
"title": "Stadt Darmstadt",
"module": "muellmax_de",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@
# "url": "https://www.straelen.de/",
# "service_id": "straelen",
# },
{
"title": "Stadt Cuxhaven",
"url": "https://www.cuxhaven.de/",
"service_id": "cux",
},
]


Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
from waste_collection_schedule import Collection # type: ignore[attr-defined]
from waste_collection_schedule.service.AbfallnaviDe import (
SERVICE_DOMAINS,
AbfallnaviDe,
)
from waste_collection_schedule.service.AbfallnaviDe import SERVICE_DOMAINS, AbfallnaviDe

TITLE = "AbfallNavi (RegioIT.de)"
DESCRIPTION = (
Expand Down Expand Up @@ -55,6 +52,11 @@ def EXTRA_INFO():
"ort": "Kummerfeld",
"strasse": "alle Straßen",
},
"Cuxhaven": {
"service": "cux",
"ort": "Cuxhaven",
"strasse": "Zur Holter Höhe",
},
}


Expand Down
1 change: 1 addition & 0 deletions doc/source/abfallnavi_de.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Your serviceID can be found in the list below. `ort`, `strasse` and `hausnummer`
| Kreis Viersen | viersen |
| WBO Wirtschaftsbetriebe Oberhausen | oberhausen |
| ZEW Zweckverband Entsorgungsregion West | zew2 |
| Stadt Cuxhaven | cux |
<!--End of service section-->


Expand Down
2 changes: 1 addition & 1 deletion info.md

Large diffs are not rendered by default.

0 comments on commit 7cf70ca

Please sign in to comment.