Skip to content

Commit

Permalink
Add opendata.bordeaux-metropole.fr source (#3257)
Browse files Browse the repository at this point in the history
* feat: Add opendata.bordeaux-metropole.fr source

* reformatting + fixing typehints

* replace StrEnum with Enum as StrEnum is only supported in python >= 3.11

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
  • Loading branch information
AthAshino and 5ila5 authored Dec 24, 2024
1 parent 021c1a6 commit 2111955
Show file tree
Hide file tree
Showing 8 changed files with 688 additions and 1 deletion.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,24 +694,46 @@ If your service provider is not listed, feel free to open a [source request issu
<details>
<summary>France</summary>

- [Ambarès-et-Lagrave](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Ambès](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Ardenne Métropole](/doc/source/publidata_fr.md) / ardenne-metropole.fr
- [Blanquefort](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Bordeaux](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Bordeaux Métropole](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Bruges](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Bègles](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Châteauroux Métropole](/doc/source/publidata_fr.md) / chateauroux-metropole.fr
- [Communauté de Communes de Montesquieu](/doc/source/cc-montesquieu_fr.md) / cc-montesquieu.fr
- [Dreux Agglomération](/doc/source/publidata_fr.md) / dreux-agglomeration.fr
- [Dunkerque Grand Littoral](/doc/source/publidata_fr.md) / mesinfosdechets.cud.fr
- [Eysines](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Gradignan](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Grand Calais Terres et Mers](/doc/source/publidata_fr.md) / grandcalais.fr
- [Grand Paris Seine et Oise](/doc/source/publidata_fr.md) / infos-dechets.gpseo.fr
- [Grand Paris Seine Ouest](/doc/source/publidata_fr.md) / dechets.seineouest.fr
- [Le Bouscat](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Le Haillan](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Le Taillan-Médoc](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Mairie de Mamirolle](/doc/source/mamirolle_info.md) / mamirolle.info
- [Martignas-sur-Jalle](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Mérignac](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Orléans Métropole](/doc/source/publidata_fr.md) / triermondechet.orleans-metropole.fr
- [Parempuyre](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Pessac](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Publidata generic source](/doc/source/publidata_fr.md) / publidata.io/fr
- [Saint Quentin en Yvelines](/doc/source/publidata_fr.md) / saint-quentin-en-yvelines.fr
- [Saint-Aubin-de-Médoc](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Saint-Louis-de-Montferrand](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Saint-Médard-en-Jalles](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Saint-Vincent-de-Paul](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Saumur Val de Loire](/doc/source/publidata_fr.md) / saumurvaldeloire.fr
- [Sivom Rive Droite - Bassens](/doc/source/sivom_rivedroite_fr.md) / sivom-rivedroite.fr
- [Talence](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
- [Tours Métropole](/doc/source/publidata_fr.md) / tours-metropole.fr
- [ValDem](/doc/source/publidata_fr.md) / valdem.fr
- [ValEco](/doc/source/publidata_fr.md) / valeco41.fr
- [Versailles Grand Parc](/doc/source/publidata_fr.md) / versaillesgrandparc.fr
- [Villenave-d'Ornon](/doc/source/opendata_bordeauxmetropole_fr.md) / opendata.bordeaux-metropole.fr
</details>

<details>
Expand Down
174 changes: 174 additions & 0 deletions custom_components/waste_collection_schedule/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -3966,6 +3966,22 @@
}
],
"France": [
{
"title": "Ambar\u00e8s-et-Lagrave",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Ambar\u00e8s-et-Lagrave"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Amb\u00e8s",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Amb\u00e8s"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Ardenne M\u00e9tropole",
"module": "publidata_fr",
Expand All @@ -3974,6 +3990,44 @@
},
"id": "publidata_fr"
},
{
"title": "Blanquefort",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Blanquefort"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Bordeaux",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Bordeaux"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Bordeaux M\u00e9tropole",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Bruges",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Bruges"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "B\u00e8gles",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "B\u00e8gles"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Ch\u00e2teauroux M\u00e9tropole",
"module": "publidata_fr",
Expand Down Expand Up @@ -4004,6 +4058,22 @@
},
"id": "publidata_fr"
},
{
"title": "Eysines",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Eysines"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Gradignan",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Gradignan"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Grand Calais Terres et Mers",
"module": "publidata_fr",
Expand All @@ -4028,12 +4098,52 @@
},
"id": "publidata_fr"
},
{
"title": "Le Bouscat",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Le Bouscat"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Le Haillan",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Le Haillan"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Le Taillan-M\u00e9doc",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Le Taillan-M\u00e9doc"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Mairie de Mamirolle",
"module": "mamirolle_info",
"default_params": {},
"id": "mamirolle_info"
},
{
"title": "Martignas-sur-Jalle",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Martignas-sur-Jalle"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "M\u00e9rignac",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "M\u00e9rignac"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Orl\u00e9ans M\u00e9tropole",
"module": "publidata_fr",
Expand All @@ -4042,6 +4152,22 @@
},
"id": "publidata_fr"
},
{
"title": "Parempuyre",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Parempuyre"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Pessac",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Pessac"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Publidata generic source",
"module": "publidata_fr",
Expand All @@ -4056,6 +4182,38 @@
},
"id": "publidata_fr"
},
{
"title": "Saint-Aubin-de-M\u00e9doc",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Saint-Aubin-de-M\u00e9doc"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Saint-Louis-de-Montferrand",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Saint-Louis-de-Montferrand"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Saint-M\u00e9dard-en-Jalles",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Saint-M\u00e9dard-en-Jalles"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Saint-Vincent-de-Paul",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Saint-Vincent-de-Paul"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Saumur Val de Loire",
"module": "publidata_fr",
Expand All @@ -4070,6 +4228,14 @@
"default_params": {},
"id": "sivom_rivedroite_fr"
},
{
"title": "Talence",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Talence"
},
"id": "opendata_bordeauxmetropole_fr"
},
{
"title": "Tours M\u00e9tropole",
"module": "publidata_fr",
Expand Down Expand Up @@ -4101,6 +4267,14 @@
"instance_id": 251
},
"id": "publidata_fr"
},
{
"title": "Villenave-d'Ornon",
"module": "opendata_bordeauxmetropole_fr",
"default_params": {
"city": "Villenave-d'Ornon"
},
"id": "opendata_bordeauxmetropole_fr"
}
],
"Generic": [
Expand Down
27 changes: 27 additions & 0 deletions custom_components/waste_collection_schedule/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2757,6 +2757,33 @@
},
"data_description": {}
},
"args_opendata_bordeauxmetropole_fr": {
"title": "Quelle konfigurieren",
"description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/opendata_bordeauxmetropole_fr.md",
"data": {
"calendar_title": "Kalender Titel",
"address": "Addresse",
"city": "Stadt"
},
"data_description": {
"calendar_title": "Ein lesbarerer oder benutzerfreundlicherer Name für den Müllkalender. Wenn nichts angegeben wird, wird der Name der Quelle verwendet.",
"address": "Ihre vollständige Adresse",
"city": "Ihre Stadt"
}
},
"reconfigure_opendata_bordeauxmetropole_fr": {
"title": "Quelle Neu Konfigurieren",
"description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/opendata_bordeauxmetropole_fr.md",
"data": {
"calendar_title": "Kalender Titel",
"address": "Addresse",
"city": "Stadt"
},
"data_description": {
"address": "Ihre vollständige Adresse",
"city": "Ihre Stadt"
}
},
"args_publidata_fr": {
"title": "Quelle konfigurieren",
"description": "Konfiguriere deinen Service Provider. \n\nDer INSEE-Code Ihrer Gemeinde kann leicht über Google gefunden werden. Die instance_id kann durch einen Netzwerk-Inspektor vom offiziellen Widget ermittelt werden\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/publidata_fr.md",
Expand Down
27 changes: 27 additions & 0 deletions custom_components/waste_collection_schedule/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2763,6 +2763,33 @@
},
"data_description": {}
},
"args_opendata_bordeauxmetropole_fr": {
"title": "Configure Source",
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/opendata_bordeauxmetropole_fr.md.",
"data": {
"calendar_title": "Calendar Title",
"address": "Address",
"city": "City"
},
"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.",
"address": "Your full address",
"city": "Your city"
}
},
"reconfigure_opendata_bordeauxmetropole_fr": {
"title": "Reconfigure Source",
"description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/opendata_bordeauxmetropole_fr.md.",
"data": {
"calendar_title": "Calendar Title",
"address": "Address",
"city": "City"
},
"data_description": {
"address": "Your full address",
"city": "Your city"
}
},
"args_publidata_fr": {
"title": "Configure Source",
"description": "Configure your service provider. \n\nThe INSEE code of your commune is easily found on google. instance_id can be found through a network inspecter from the official widget\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/publidata_fr.md.",
Expand Down
27 changes: 27 additions & 0 deletions custom_components/waste_collection_schedule/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -2757,6 +2757,33 @@
},
"data_description": {}
},
"args_opendata_bordeauxmetropole_fr": {
"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/opendata_bordeauxmetropole_fr.md.",
"data": {
"calendar_title": "Nome Calendario",
"address": "Indirizzo",
"city": "Città"
},
"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.",
"address": "Il tuo indirizzo completo",
"city": "La tua città"
}
},
"reconfigure_opendata_bordeauxmetropole_fr": {
"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/opendata_bordeauxmetropole_fr.md.",
"data": {
"calendar_title": "Nome Calendario",
"address": "Indirizzo",
"city": "Città"
},
"data_description": {
"address": "Il tuo indirizzo completo",
"city": "La tua città"
}
},
"args_publidata_fr": {
"title": "Configurazione Sorgente",
"description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\nIl codice INSEE del tuo comune si trova facilmente su Google. L'instance_id può essere trovato attraverso un ispettore di rete dal widget ufficiale\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/publidata_fr.md.",
Expand Down
Loading

0 comments on commit 2111955

Please sign in to comment.