diff --git a/README.md b/README.md index f754ec45..7fc66959 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,7 @@ Currently the following service providers are supported: - [C-Trace.de](./doc/source/c_trace_de.md) - [Cochem-Zell](./doc/source/cochem_zell_online_de.md) - [EGN-Abfallkalender.de](./doc/source/egn_abfallkalender_de.md) +- [Erlangen-Höchstadt](./doc/source/erlangen_hoechstadt_de.md) - [Jumomind.de](./doc/source/jumomind_de.md) - [KAEV Niederlausitz](./doc/source/kaev_niederlausitz_de.md) - [KWB-Goslar.de](./doc/source/kwb_goslar_de.md) diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/erlangen_hoechstadt_de.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/erlangen_hoechstadt_de.py index 85e9f170..201f655a 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/erlangen_hoechstadt_de.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/erlangen_hoechstadt_de.py @@ -10,7 +10,8 @@ DESCRIPTION = "Source for Landkreis Erlangen-Höchstadt" URL = "https://www.erlangen-hoechstadt.de/" TEST_CASES = { "Höchstadt": {"city": "Höchstadt", "street": "Böhmerwaldstraße"}, - "Brand": {"city": "Eckental", "street": "Eckenhaid, Amselweg"} + "Brand": {"city": "Eckental", "street": "Eckenhaid, Amselweg"}, + "Ortsteile": {"city":"Wachenroth", "street": "Wachenroth Ort ink. aller Ortsteile"} } diff --git a/doc/source/erlangen_hoechstadt_de.md b/doc/source/erlangen_hoechstadt_de.md index 2f998fec..6595f085 100644 --- a/doc/source/erlangen_hoechstadt_de.md +++ b/doc/source/erlangen_hoechstadt_de.md @@ -20,4 +20,8 @@ Note: Set the `separator` to `" / "` as it's the way different waste types are s *(string) (required)* **street**
-*(string) (required)* \ No newline at end of file +*(string) (required)* + +### How to get the source arguments + +Visit [erlangen-hoechstadt.de](https://www.erlangen-hoechstadt.de/aktuelles/abfallkalender/) and search for your area. Use the value from the "Ort" dropdown as `city` argument and the one from "Ortsteil/Straße" as `street`. `street` is case sensitive! \ No newline at end of file diff --git a/info.md b/info.md index 0bb536d3..e021e27e 100644 --- a/info.md +++ b/info.md @@ -92,6 +92,7 @@ Currently the following service providers are supported: - [C-Trace.de](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/c_trace_de.md) - [Cochem-Zell](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/cochem_zell_online_de.md) - [EGN-Abfallkalender.de](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/egn_abfallkalender_de.md) +- [Erlangen-Höchstadt](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/erlangen_hoechstadt_de.md) - [Jumomind.de](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/jumomind_de.md) - [KWB-Goslar.de](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/kwb_goslar_de.md) - [KAEV Niederlausitz](https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/kaev_niederlausitz_de.md)