diff --git a/README.md b/README.md index ccafd64ff..de5f79e68 100644 --- a/README.md +++ b/README.md @@ -2143,6 +2143,7 @@ If your service provider is not listed, feel free to open a [source request issu - [Braintree District Council](/doc/source/braintree_gov_uk.md) / braintree.gov.uk - [Breckland Council](/doc/source/breckland_gov_uk.md) / breckland.gov.uk/mybreckland - [Brent Council](/doc/ics/brent_gov_uk.md) / brent.gov.uk +- [Bridgend County Borough Council](/doc/source/bridgend_gov_uk.md) / bridgend.gov.uk - [Bristol City Council](/doc/source/bristol_gov_uk.md) / bristol.gov.uk - [Broadland District Council](/doc/source/south_norfolk_and_broadland_gov_uk.md) / area.southnorfolkandbroadland.gov.uk - [Bromsgrove City Council](/doc/source/bromsgrove_gov_uk.md) / bromsgrove.gov.uk @@ -2173,6 +2174,7 @@ If your service provider is not listed, feel free to open a [source request issu - [Coventry City Council](/doc/source/coventry_gov_uk.md) / coventry.gov.uk - [Crawley Borough Council (myCrawley)](/doc/source/crawley_gov_uk.md) / crawley.gov.uk - [Croydon Council](/doc/source/croydon_gov_uk.md) / croydon.gov.uk +- [Cumberland Council](/doc/source/cumberland_gov_uk.md) / cumberland.gov.uk - [Dacorum Borough Council](/doc/source/dacorum_gov_uk.md) / dacorum.gov.uk - [Darlington Borough Council](/doc/source/darlington_gov_uk.md) / darlington.gov.uk - [Dartford Borough Council](/doc/source/dartford_gov_uk.md) / dartford.gov.uk @@ -2293,6 +2295,7 @@ If your service provider is not listed, feel free to open a [source request issu - [Rhondda Cynon Taf County Borough Council](/doc/source/rctcbc_gov_uk.md) / rctcbc.gov.uk - [Richmondshire District Council](/doc/source/richmondshire_gov_uk.md) / richmondshire.gov.uk - [Rochdale Borough Council](/doc/source/rochdale_gov_uk.md) / rochdale.gov.uk +- [Rother District Council](/doc/source/rother_gov_uk.md) / rother.gov.uk - [Rotherham](/doc/source/apps_imactivate_com.md) / rotherham.gov.uk - [Rotherham Metropolitan Borough Council](/doc/source/rotherham_gov_uk.md) / rotherham.gov.uk - [Royal Borough Of Greenwich](/doc/source/royalgreenwich_gov_uk.md) / royalgreenwich.gov.uk @@ -2390,6 +2393,7 @@ If your service provider is not listed, feel free to open a [source request issu - [City of McKinney, TX](/doc/ics/recollect.md) / mckinneytexas.org - [City of Oklahoma City (unofficial)](/doc/source/okc_gov.md) / okc.gov - [City of Pittsburgh](/doc/source/pgh_st.md) / pgh.st +- [Davenport, Iowa, USA](/doc/ics/recollect.md) / davenportiowa.com - [Hardin Sanitation, Idaho, USA](/doc/ics/recollect.md) / hardinsanitation.com - [Louisville, Kentucky, USA](/doc/source/recyclecoach_com.md) / recyclecoach.com/cities/usa-ky-city-of-louisville - [Minneapolis MN USA](/doc/source/apps_ci_minneapolis_mn_us.md) / minneapolismn.gov diff --git a/custom_components/waste_collection_schedule/sources.json b/custom_components/waste_collection_schedule/sources.json index 35db7220b..0136eea92 100644 --- a/custom_components/waste_collection_schedule/sources.json +++ b/custom_components/waste_collection_schedule/sources.json @@ -13811,6 +13811,12 @@ "default_params": {}, "id": "ics_brent_gov_uk" }, + { + "title": "Bridgend County Borough Council", + "module": "bridgend_gov_uk", + "default_params": {}, + "id": "bridgend_gov_uk" + }, { "title": "Bristol City Council", "module": "bristol_gov_uk", @@ -13995,6 +14001,12 @@ "default_params": {}, "id": "croydon_gov_uk" }, + { + "title": "Cumberland Council", + "module": "cumberland_gov_uk", + "default_params": {}, + "id": "cumberland_gov_uk" + }, { "title": "Dacorum Borough Council", "module": "dacorum_gov_uk", @@ -14731,6 +14743,12 @@ "default_params": {}, "id": "rochdale_gov_uk" }, + { + "title": "Rother District Council", + "module": "rother_gov_uk", + "default_params": {}, + "id": "rother_gov_uk" + }, { "title": "Rotherham", "module": "apps_imactivate_com", @@ -15328,6 +15346,14 @@ "default_params": {}, "id": "pgh_st" }, + { + "title": "Davenport, Iowa, USA", + "module": "ics", + "default_params": { + "split_at": "\\, (?:and )?|(?: and )" + }, + "id": "ics_recollect" + }, { "title": "Hardin Sanitation, Idaho, USA", "module": "ics", diff --git a/custom_components/waste_collection_schedule/translations/de.json b/custom_components/waste_collection_schedule/translations/de.json index f0f075522..3314f0eb1 100644 --- a/custom_components/waste_collection_schedule/translations/de.json +++ b/custom_components/waste_collection_schedule/translations/de.json @@ -2504,7 +2504,7 @@ }, "args_ics_recollect": { "title": "Quelle konfigurieren", - "description": "Konfiguriere deinen Service Provider. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n\n\nand probably a lot more.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md", + "description": "Konfiguriere deinen Service Provider. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n|Davenport, Iowa|USA|[davenportiowa.com](https://www.davenportiowa.com/cms/One.aspx?portalId=6481456&pageId=17602135)\n\n\nand probably a lot more.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md", "data": { "calendar_title": "Kalender Titel", "file": "Datei", @@ -2526,7 +2526,7 @@ }, "reconfigure_ics_recollect": { "title": "Quelle Neu Konfigurieren", - "description": "Konfiguriere deinen Service Provider. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n\n\nand probably a lot more.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md", + "description": "Konfiguriere deinen Service Provider. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n|Davenport, Iowa|USA|[davenportiowa.com](https://www.davenportiowa.com/cms/One.aspx?portalId=6481456&pageId=17602135)\n\n\nand probably a lot more.\n\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md", "data": { "calendar_title": "Kalender Titel", "file": "Datei", @@ -12762,6 +12762,29 @@ }, "data_description": {} }, + "args_bridgend_gov_uk": { + "title": "Quelle konfigurieren", + "description": "Konfiguriere deinen Service Provider. \n\nan easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bridgend_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "uprn": "UPRN" + }, + "data_description": { + "calendar_title": "Ein lesbarerer oder benutzerfreundlicherer Name für den Müllkalender. Wenn nichts angegeben wird, wird der Name der Quelle verwendet.", + "uprn": "Eine einfache Möglichkeit, Ihre Unique Property Reference Number (UPRN) zu finden, besteht darin, auf https://www.findmyaddress.co.uk/ zu gehen und Ihre Adressdaten einzugeben." + } + }, + "reconfigure_bridgend_gov_uk": { + "title": "Quelle Neu Konfigurieren", + "description": "Konfiguriere deinen Service Provider. \n\nan easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bridgend_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "uprn": "UPRN" + }, + "data_description": { + "uprn": "Eine einfache Möglichkeit, Ihre Unique Property Reference Number (UPRN) zu finden, besteht darin, auf https://www.findmyaddress.co.uk/ zu gehen und Ihre Adressdaten einzugeben." + } + }, "args_bristol_gov_uk": { "title": "Quelle konfigurieren", "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bristol_gov_uk.md", @@ -13410,6 +13433,31 @@ }, "data_description": {} }, + "args_cumberland_gov_uk": { + "title": "Quelle konfigurieren", + "description": "Konfiguriere deinen Service Provider. \n\nAn easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/cumberland_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "postcode": "PLZ", + "uprn": "UPRN" + }, + "data_description": { + "calendar_title": "Ein lesbarerer oder benutzerfreundlicherer Name für den Müllkalender. Wenn nichts angegeben wird, wird der Name der Quelle verwendet.", + "uprn": "Eine einfache Möglichkeit, Ihre Unique Property Reference Number (UPRN) zu finden, besteht darin, auf https://www.findmyaddress.co.uk/ zu gehen und Ihre Adressdaten einzugeben." + } + }, + "reconfigure_cumberland_gov_uk": { + "title": "Quelle Neu Konfigurieren", + "description": "Konfiguriere deinen Service Provider. \n\nAn easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/cumberland_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "postcode": "PLZ", + "uprn": "UPRN" + }, + "data_description": { + "uprn": "Eine einfache Möglichkeit, Ihre Unique Property Reference Number (UPRN) zu finden, besteht darin, auf https://www.findmyaddress.co.uk/ zu gehen und Ihre Adressdaten einzugeben." + } + }, "args_dacorum_gov_uk": { "title": "Quelle konfigurieren", "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/dacorum_gov_uk.md", @@ -15996,6 +16044,29 @@ "uprn": "Eine einfache Möglichkeit, Ihre Unique Property Reference Number (UPRN) zu finden, besteht darin, auf https://www.findmyaddress.co.uk/ zu gehen und Ihre Adressdaten einzugeben." } }, + "args_rother_gov_uk": { + "title": "Quelle konfigurieren", + "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/rother_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "uprn": "UPRN" + }, + "data_description": { + "calendar_title": "Ein lesbarerer oder benutzerfreundlicherer Name für den Müllkalender. Wenn nichts angegeben wird, wird der Name der Quelle verwendet.", + "uprn": "Eine einfache Möglichkeit, Ihre Unique Property Reference Number (UPRN) zu finden, besteht darin, auf https://www.findmyaddress.co.uk/ zu gehen und Ihre Adressdaten einzugeben." + } + }, + "reconfigure_rother_gov_uk": { + "title": "Quelle Neu Konfigurieren", + "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/rother_gov_uk.md", + "data": { + "calendar_title": "Kalender Titel", + "uprn": "UPRN" + }, + "data_description": { + "uprn": "Eine einfache Möglichkeit, Ihre Unique Property Reference Number (UPRN) zu finden, besteht darin, auf https://www.findmyaddress.co.uk/ zu gehen und Ihre Adressdaten einzugeben." + } + }, "args_rotherham_gov_uk": { "title": "Quelle konfigurieren", "description": "Konfiguriere deinen Service Provider. Mehr details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/rotherham_gov_uk.md", diff --git a/custom_components/waste_collection_schedule/translations/en.json b/custom_components/waste_collection_schedule/translations/en.json index 9e0a4b3c3..cf6e88232 100644 --- a/custom_components/waste_collection_schedule/translations/en.json +++ b/custom_components/waste_collection_schedule/translations/en.json @@ -2522,7 +2522,7 @@ }, "args_ics_recollect": { "title": "Configure Source", - "description": "Configure your service provider. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n\n\nand probably a lot more.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md.", + "description": "Configure your service provider. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n|Davenport, Iowa|USA|[davenportiowa.com](https://www.davenportiowa.com/cms/One.aspx?portalId=6481456&pageId=17602135)\n\n\nand probably a lot more.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md.", "data": { "calendar_title": "Calendar Title", "file": "File", @@ -2544,7 +2544,7 @@ }, "reconfigure_ics_recollect": { "title": "Reconfigure Source", - "description": "Configure your service provider. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n\n\nand probably a lot more.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md.", + "description": "Configure your service provider. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n|Davenport, Iowa|USA|[davenportiowa.com](https://www.davenportiowa.com/cms/One.aspx?portalId=6481456&pageId=17602135)\n\n\nand probably a lot more.\n\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md.", "data": { "calendar_title": "Calendar Title", "file": "File", @@ -12793,6 +12793,29 @@ }, "data_description": {} }, + "args_bridgend_gov_uk": { + "title": "Configure Source", + "description": "Configure your service provider. \n\nan easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bridgend_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "uprn": "Unique Property Reference Number (UPRN)" + }, + "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.", + "uprn": "Unique Property Reference Number (UPRN)" + } + }, + "reconfigure_bridgend_gov_uk": { + "title": "Reconfigure Source", + "description": "Configure your service provider. \n\nan easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bridgend_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "uprn": "Unique Property Reference Number (UPRN)" + }, + "data_description": { + "uprn": "Unique Property Reference Number (UPRN)" + } + }, "args_bristol_gov_uk": { "title": "Configure Source", "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bristol_gov_uk.md.", @@ -13449,6 +13472,33 @@ }, "data_description": {} }, + "args_cumberland_gov_uk": { + "title": "Configure Source", + "description": "Configure your service provider. \n\nAn easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/cumberland_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "postcode": "Postcode of your property", + "uprn": "Unique Property Reference Number (UPRN)" + }, + "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.", + "postcode": "Postcode of your property", + "uprn": "Unique Property Reference Number (UPRN)" + } + }, + "reconfigure_cumberland_gov_uk": { + "title": "Reconfigure Source", + "description": "Configure your service provider. \n\nAn easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMore details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/cumberland_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "postcode": "Postcode of your property", + "uprn": "Unique Property Reference Number (UPRN)" + }, + "data_description": { + "postcode": "Postcode of your property", + "uprn": "Unique Property Reference Number (UPRN)" + } + }, "args_dacorum_gov_uk": { "title": "Configure Source", "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/dacorum_gov_uk.md.", @@ -16041,6 +16091,29 @@ "uprn": "An easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details." } }, + "args_rother_gov_uk": { + "title": "Configure Source", + "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/rother_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "uprn": "UPRN" + }, + "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.", + "uprn": "An easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details." + } + }, + "reconfigure_rother_gov_uk": { + "title": "Reconfigure Source", + "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/rother_gov_uk.md.", + "data": { + "calendar_title": "Calendar Title", + "uprn": "UPRN" + }, + "data_description": { + "uprn": "An easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details." + } + }, "args_rotherham_gov_uk": { "title": "Configure Source", "description": "Configure your service provider. More details: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/rotherham_gov_uk.md.", diff --git a/custom_components/waste_collection_schedule/translations/it.json b/custom_components/waste_collection_schedule/translations/it.json index 089aac751..754ca272f 100644 --- a/custom_components/waste_collection_schedule/translations/it.json +++ b/custom_components/waste_collection_schedule/translations/it.json @@ -2483,7 +2483,7 @@ }, "args_ics_recollect": { "title": "Configurazione Sorgente", - "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n\n\nand probably a lot more.\n\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md.", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n|Davenport, Iowa|USA|[davenportiowa.com](https://www.davenportiowa.com/cms/One.aspx?portalId=6481456&pageId=17602135)\n\n\nand probably a lot more.\n\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md.", "data": { "calendar_title": "Nome Calendario", "file": "Nome File", @@ -2505,7 +2505,7 @@ }, "reconfigure_ics_recollect": { "title": "Riconfigurazione Sorgente", - "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n\n\nand probably a lot more.\n\n\nPer maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md.", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\n- To get the URL, search your address in the recollect form of your home town.\n- Click \"Get a calendar\", then \"Add to Google Calendar\".\n- The URL shown is your ICS calendar link, for example.\n ```plain\n https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics?client_id=6FBD18FE-167B-11EC-992A-C843A7F05606\n ```\n- You can strip the client ID URL parameter to get the final URL: `https://recollect.a.ssl.fastly.net/api/places/BCCDF30E-578B-11E4-AD38-5839C200407A/services/208/events.en.ics`\n\nknown to work with:\n|Region|Country|URL|\n|-|-|-|\n|Ottawa, ON|Canada|[ottawa.ca](https://ottawa.ca/en/garbage-and-recycling/recycling/garbage-and-recycling-collection-calendar)|\n|Simcoe County, ON|Canada|[simcoe.ca](https://www.simcoe.ca/dpt/swm/when)|\n|City of Bloomington, IN|USA|[api.recollect.net/r/area/bloomingtonin](https://api.recollect.net/r/area/bloomingtonin)|\n|City of Cambridge, MA|USA|[cambridgema.gov](https://www.cambridgema.gov/services/curbsidecollections)|\n|City of Georgetown, TX|USA|[texasdisposal.com](https://www.texasdisposal.com/waste-wizard/)|\n|City of Vancouver|Canada|[vancouver.ca](https://vancouver.ca/home-property-development/garbage-and-recycling-collection-schedules.aspx)|\n|City of Nanaimo|Canada|[nanaimo.ca](https://www.nanaimo.ca/city-services/garbage-recycling/collectionschedule)|\n|City of Austin|USA|[austintexas.gov](https://www.austintexas.gov/myschedule)|\n|Middlesbrough|UK|[middlesbrough.gov.uk](https://my.middlesbrough.gov.uk/login/)|\n|City of McKinney|USA|[mckinneytexas.org](https://www.mckinneytexas.org/503/Residential-Trash-Services/#App)|\n|Waste Connections|USA|[wasteconnections.com](https://www.wasteconnections.com/pickup-schedule/)|\n|Halton County, ON|Canada|[halton.ca](https://www.halton.ca/For-Residents/Recycling-Waste/Recycling-and-Waste-Tools/Online-Waste-Collection-Schedule)|\n|District of Saanish, BC|Canada|[saanich.ca](https://www.saanich.ca/EN/main/community/utilities-garbage/garbage-organics-recycling.html)|\n|Caerphilly, Wales|UK|[caerphilly.gov.uk](https://www.caerphilly.gov.uk/services/household-waste-and-recycling/bin-collection-days)|\n|Recology CleanScapes, WA|USA|[recology.com](https://www.recology.com/recology-king-county/des-moines/collection-calendar/)|\n|City of Lethbridge|Canada|[lethbridge.ca](https://www.lethbridge.ca/waste-recycling/#wastewizard)|\n|City of Regina|Canada|[regina.ca](https://www.regina.ca/home-property/recycling-garbage/)|\n|Hardin Sanitation, Ada County, Idaho|USA|[hardinsanitation.com/ada](https://www.hardinsanitation.com/ada/)|\n|Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)|\n|Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)|\n|Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)|\n|Davenport, Iowa|USA|[davenportiowa.com](https://www.davenportiowa.com/cms/One.aspx?portalId=6481456&pageId=17602135)\n\n\nand probably a lot more.\n\n\nPer maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/ics/recollect.md.", "data": { "calendar_title": "Nome Calendario", "file": "Nome File", @@ -12723,6 +12723,29 @@ }, "data_description": {} }, + "args_bridgend_gov_uk": { + "title": "Configurazione Sorgente", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\nan easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bridgend_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "uprn": "UPRN" + }, + "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.", + "uprn": "Un modo facile per scoprire il tuo Numero di Riferimento Proprietà Unica (UPRN) è andare su https://www.findmyaddress.co.uk/ e inserire i dettagli del tuo indirizzo." + } + }, + "reconfigure_bridgend_gov_uk": { + "title": "Riconfigurazione Sorgente", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\nan easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nPer maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/bridgend_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "uprn": "UPRN" + }, + "data_description": { + "uprn": "Un modo facile per scoprire il tuo Numero di Riferimento Proprietà Unica (UPRN) è andare su https://www.findmyaddress.co.uk/ e inserire i dettagli del tuo indirizzo." + } + }, "args_bristol_gov_uk": { "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/bristol_gov_uk.md.", @@ -13371,6 +13394,31 @@ }, "data_description": {} }, + "args_cumberland_gov_uk": { + "title": "Configurazione Sorgente", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\nAn easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nMaggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/cumberland_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "postcode": "Codice Postale CAP", + "uprn": "UPRN" + }, + "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.", + "uprn": "Un modo facile per scoprire il tuo Numero di Riferimento Proprietà Unica (UPRN) è andare su https://www.findmyaddress.co.uk/ e inserire i dettagli del tuo indirizzo." + } + }, + "reconfigure_cumberland_gov_uk": { + "title": "Riconfigurazione Sorgente", + "description": "Compila i campi per ottenere le informazioni sul tuo servizio di raccolta. \n\nAn easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.\n\nPer maggiori informazioni: https://github.com/mampfes/hacs_waste_collection_schedule/blob/master/doc/source/cumberland_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "postcode": "Codice Postale CAP", + "uprn": "UPRN" + }, + "data_description": { + "uprn": "Un modo facile per scoprire il tuo Numero di Riferimento Proprietà Unica (UPRN) è andare su https://www.findmyaddress.co.uk/ e inserire i dettagli del tuo indirizzo." + } + }, "args_dacorum_gov_uk": { "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/dacorum_gov_uk.md.", @@ -15957,6 +16005,29 @@ "uprn": "Un modo facile per scoprire il tuo Numero di Riferimento Proprietà Unica (UPRN) è andare su https://www.findmyaddress.co.uk/ e inserire i dettagli del tuo indirizzo." } }, + "args_rother_gov_uk": { + "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/rother_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "uprn": "UPRN" + }, + "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.", + "uprn": "Un modo facile per scoprire il tuo Numero di Riferimento Proprietà Unica (UPRN) è andare su https://www.findmyaddress.co.uk/ e inserire i dettagli del tuo indirizzo." + } + }, + "reconfigure_rother_gov_uk": { + "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/rother_gov_uk.md.", + "data": { + "calendar_title": "Nome Calendario", + "uprn": "UPRN" + }, + "data_description": { + "uprn": "Un modo facile per scoprire il tuo Numero di Riferimento Proprietà Unica (UPRN) è andare su https://www.findmyaddress.co.uk/ e inserire i dettagli del tuo indirizzo." + } + }, "args_rotherham_gov_uk": { "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/rotherham_gov_uk.md.", diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/abfall_havelland_de.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/abfall_havelland_de.py index 2bd7d5fa4..05b65fc33 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/abfall_havelland_de.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/abfall_havelland_de.py @@ -1,6 +1,5 @@ # There was an ICS source but the ICS file was not stored permanently and would be removed after a few days. import requests -from bs4 import BeautifulSoup, Tag from waste_collection_schedule import Collection # type: ignore[attr-defined] from waste_collection_schedule.service.ICS import ICS @@ -13,9 +12,13 @@ "strasse": "Drosselgasse", }, "Milow Friedhofstr.": {"ort": "Milow", "strasse": "Friedhofstr."}, + "Falkensee Ahornstr.": {"ort": "Falkensee", "strasse": "Ahornstr."}, + "Falkensee complex street name": { + "ort": "Falkensee", + "strasse": "Karl-Marx-Str. (von Friedrich-Hahn-Str. bis Am Schlaggraben)", + }, } - ICON_MAP = { "mülltonne": "mdi:trash-can", "bio-tonne": "mdi:leaf", @@ -23,9 +26,7 @@ "gelbe": "mdi:recycle", } - -API_URL = "https://www.abfall-havelland.de//groups/public/modules/ajax_tourenplan.php" -BASE_URL = "https://www.abfall-havelland.de/" +API_URL = "https://www.abfall-havelland.de/ics.php" class Source: @@ -37,19 +38,9 @@ def __init__(self, ort: str, strasse: str): def fetch(self) -> list[Collection]: args = {"city": self._ort, "street": self._strasse} - # get json file + # ics content r = requests.get(API_URL, params=args) r.raise_for_status() - soup = BeautifulSoup(r.text, "html.parser") - ics_link_tag = soup.find("a", id="ical") - if not isinstance(ics_link_tag, Tag): - raise Exception("No ics link found") - ics_link = ics_link_tag.attrs["onclick"].split("'")[1] - if not isinstance(ics_link, str): - raise Exception("No ics link found") - r = requests.get(BASE_URL + ics_link) - r.raise_for_status() - r.encoding = "utf-8" dates = self._ics.convert(r.text) entries = [] for d in dates: diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/bridgend_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/bridgend_gov_uk.py new file mode 100644 index 000000000..c6344f306 --- /dev/null +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/bridgend_gov_uk.py @@ -0,0 +1,70 @@ +from datetime import datetime + +import requests +from bs4 import BeautifulSoup +from waste_collection_schedule import Collection + +TITLE = "Bridgend County Borough Council" +DESCRIPTION = "Source for bridgend.gov.uk" +URL = "https://www.bridgend.gov.uk/" +TEST_CASES: dict = { + "test_001": {"uprn": "100100479873"}, + "test_002": {"uprn": 10032996088}, + "test_003": {"uprn": "10090813443"}, +} +ICON_MAP: dict = { + "Refuse": "mdi:trash-can", + "Recycling": "mdi:recycle", +} +HEADERS: dict = {"user-agent": "Mozilla/5.0"} + +HOW_TO_GET_ARGUMENTS_DESCRIPTION: dict = { + "en": "an easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.", +} +PARAM_TRANSLATIONS: dict = { + "en": { + "uprn": "Unique Property Reference Number (UPRN)", + } +} +PARAM_DESCRIPTIONS: dict = { + "en": { + "uprn": "Unique Property Reference Number (UPRN)", + } +} + + +class Source: + def __init__(self, uprn: str | int): + self._uprn = str(uprn) + + def fetch(self) -> list[Collection]: + s = requests.Session() + r = s.get( + f"https://bridgendportal.azurewebsites.net/property/{self._uprn}", + headers=HEADERS, + ) + soup: BeautifulSoup = BeautifulSoup(r.content, "html.parser") + + tds: list = soup.find_all("td", {"class": ["service-name", "next-service"]}) + waste_types: list = tds[0::2] + waste_dates: list = tds[1::2] + + entries: list = [] + for i in range(len(waste_types)): + waste_type = waste_types[i].text.split(" ")[0].replace("\n", "").strip() + waste_date = ( + waste_dates[i] + .text.split(" ")[1] + .replace("\t", "") + .replace("Service\n", "") + .strip() + ) + entries.append( + Collection( + date=datetime.strptime(waste_date, "%d/%m/%Y").date(), + t=waste_type, + icon=ICON_MAP.get(waste_type), + ) + ) + + return entries diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/cederbaum_de.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/cederbaum_de.py index ee3422115..0fb015185 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/cederbaum_de.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/cederbaum_de.py @@ -1,5 +1,4 @@ import datetime -import json import re import requests @@ -15,7 +14,7 @@ "Am Schwarzen Berge": {"street": "am Schwarzen Berge "}, } -API_URL = "https://www.cederbaum.de/blaue-tonne/abfuhrkalender" +API_URL = "https://www.cederbaum.de/blaue-tonne/" ICON_MAP = { "PAPER": "mdi:newspaper", } @@ -54,7 +53,7 @@ def get_street_id(self): value = option.get("value") text = option.get_text() if text.lower().strip() == self._street.lower().strip(): - self.street_id = value + self.street_id = int(value) break def get_collection_data(self): @@ -63,15 +62,23 @@ def get_collection_data(self): script_tags = self.page_source.find_all("script") script_with_text = [tag for tag in script_tags if tag.string] - pattern = re.compile(r"var rate = (\{.*?\});") + pattern = re.compile(r"var rate = \[(.*?)\];") + # the dates are stored in a hardcoded js array + raw_date_text = None for script_tag in script_with_text: match = pattern.search(script_tag.string) if match: - var_content = match.group(1) - self.collection_data = json.loads(var_content) + raw_date_text = match.group(1) break + if not raw_date_text: + raise ValueError("Raw date text not found") + + # one list of dates per location + raw_dates = [text.strip('"') for text in raw_date_text.split('","')] + self.collection_data = [dates.split(",") for dates in raw_dates] + def fetch(self): self.fetch_page_source() self.get_street_id() @@ -81,11 +88,9 @@ def fetch(self): raise ValueError("No collection data found") entries = [] - waste_dates = self.collection_data[self.street_id]["Termine"] + waste_dates = self.collection_data[self.street_id] # type: ignore for waste_date in waste_dates: - date = datetime.datetime.strptime( - waste_dates[waste_date]["Termin"], "%d.%m.%Y" - ) + date = datetime.datetime.strptime(waste_date, "%d.%m.%Y") entries.append( Collection( diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/cumberland_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/cumberland_gov_uk.py new file mode 100644 index 000000000..813fa0210 --- /dev/null +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/cumberland_gov_uk.py @@ -0,0 +1,95 @@ +from datetime import datetime + +import requests +from bs4 import BeautifulSoup +from waste_collection_schedule import Collection # type: ignore[attr-defined] + +TITLE = "Cumberland Council" +DESCRIPTION = "Source for cumberland.gov.uk services for Cumberland Council, UK." +URL = "https://cumberland.gov.uk" +TEST_CASES = { + "Test_001": {"postcode": "CA28 7QS", "uprn": "100110319463"}, + "Test_002": {"postcode": "CA28 8LG", "uprn": 100110320734}, + "Test_003": {"postcode": "CA28 6SW", "uprn": "10000895390"}, +} +ICON_MAP = { + "Recycling": "mdi:recycle", + "Domestic Waste": "mdi:trash-can", +} +HEADERS = {"user-agent": "Mozilla/5.0"} +API_URLS = { + "TOKEN": "https://waste.cumberland.gov.uk/renderform?t=25&k=E43CEB1FB59F859833EF2D52B16F3F4EBE1CAB6A", + "SCHEDULE": "https://waste.cumberland.gov.uk/renderform/Form", +} + +HOW_TO_GET_ARGUMENTS_DESCRIPTION = { + "en": "An easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.", +} +PARAM_TRANSLATIONS = { + "en": { + "postcode": "Postcode of your property", + "uprn": "Unique Property Reference Number (UPRN)", + } +} +PARAM_DESCRIPTIONS = { + "en": { + "postcode": "Postcode of your property", + "uprn": "Unique Property Reference Number (UPRN)", + } +} + + +class Source: + def __init__(self, postcode: str, uprn: str | int): + self._postcode: str = str(postcode).upper() + self._uprn: str = str(uprn) + + def fetch(self) -> list[Collection]: + s = requests.Session() + + # Get token + r = s.get( + API_URLS["TOKEN"], + headers=HEADERS, + ) + + soup: BeautifulSoup = BeautifulSoup(r.content, "html.parser") + token: str = soup.find("input", {"type": "hidden"}).get("value") + + # get schedule + payload: dict = { + "__RequestVerificationToken": token, + "FF265": f"U{self._uprn}", + "FF265-text": self._postcode, + "FF265lbltxt": "Please select your address", + "FormGuid": "371be01e-1204-428e-bccd-eeacaf7cbfac", + "ObjectTemplateID": "25", + "Trigger": "submit", + "CurrentSectionID": "33", + "TriggerCtl": "", + } + r = s.post( + API_URLS["SCHEDULE"], + headers=HEADERS, + data=payload, + ) + + soup = BeautifulSoup(r.content, "html.parser") + schedule: list = soup.find_all("div", {"class": "col"}) + schedule = [item.text for item in schedule[2:] if item.text != ""] + waste_dates: list = schedule[0::2] + waste_types: list = schedule[1::2] + + entries: list = [] + for i in range(0, len(waste_types)): + entries.append( + Collection( + date=datetime.strptime(waste_dates[i], "%A %d %B %Y").date(), + t=waste_types[i].replace(" Collection Service", ""), + icon=ICON_MAP.get( + waste_types[i].replace(" Collection Service", "") + ), + ) + ) + + return entries diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/lichfielddc_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/lichfielddc_gov_uk.py index 0f9ff2ee4..e6ff1c6e8 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/lichfielddc_gov_uk.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/lichfielddc_gov_uk.py @@ -1,4 +1,5 @@ import requests +import datetime from bs4 import BeautifulSoup from dateutil import parser from waste_collection_schedule import Collection # type: ignore[attr-defined] @@ -40,6 +41,8 @@ def fetch(self): for i in range(len(dates)): bint = " ".join(bins[i].text.split()[2:4]) date = parser.parse(dates[i].text).date() + if date.month == 1 and datetime.date.today().month == 12 and date.year == datetime.date.today().year: + date = date.replace(year=date.year+1) entries.append( Collection( date=date, diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/merton_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/merton_gov_uk.py index 82bb70718..840d5e213 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/merton_gov_uk.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/merton_gov_uk.py @@ -63,9 +63,14 @@ def fetch(self): except IndexError: pass else: + try: + dt = datetime.strptime(collectionDate, "%A %d %B %Y").date() + except ValueError: + dt = datetime.strptime(collectionDate, "%d %B %Y").date() + entries.append( Collection( - date=datetime.strptime(collectionDate, "%A %d %B %Y").date(), + date=dt, t=title, icon=ICON_MAP.get(title), ) diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/rother_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/rother_gov_uk.py new file mode 100644 index 000000000..aec53283b --- /dev/null +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/rother_gov_uk.py @@ -0,0 +1,112 @@ +import re +from datetime import datetime + +import requests +import urllib3 +from bs4 import BeautifulSoup +from waste_collection_schedule import Collection # type: ignore[attr-defined] + +# With verify=True the POST fails due to a SSLCertVerificationError. +urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) + +TITLE = "Rother District Council" +DESCRIPTION = "Source for Rother District Council." +URL = "https://www.rother.gov.uk" +TEST_CASES = { + "Test_01": {"uprn": 10002653856}, + "Test_02": {"uprn": 100060102891}, +} + + +ICON_MAP: dict[str, str] = { + "refuse": "mdi:trash-can", + "garden": "mdi:leaf", + "recycling": "mdi:recycle", +} + + +API_URL = "https://www.rother.gov.uk/wp-admin/admin-ajax.php" + + +HEADERS = { + "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8", + "User-Agent": "Mozilla/5.0", +} + + +class Source: + def __init__(self, uprn: str | int): + self._uprn: str | int = uprn + + def fetch(self): + data = {"action": "get_address_data", "uprn": self._uprn} + + r = requests.post(API_URL, headers=HEADERS, data=data, timeout=10, verify=False) + r.raise_for_status() + + # Response is JSON with fields: success(boolean) and data (string containing HTML fragment) + bin_collection_data = r.json() + self.__validate_response(bin_collection_data) + + soup = BeautifulSoup(bin_collection_data["data"], "html.parser") + + entries = [] + for bin_type in ICON_MAP: + date_span = soup.find("span", class_=f"find-my-nearest-bindays-{bin_type}") + if date_span: + date_str = date_span.text.strip() + + if date_str.startswith("Sign up"): + # Garden waste requires a subscription and may not be available for all + continue + + parsed_collection_date = datetime.strptime( + self.__remove_ordinal_indicators(date_str), "%A %d %B" + ) + + # The returned bin day does not include the year + collection_year = self.__resolve_bin_collection_year( + parsed_collection_date.month + ) + + parsed_collection_date = parsed_collection_date.replace( + year=collection_year + ) + + icon = ICON_MAP.get(bin_type) + entries.append( + Collection( + date=parsed_collection_date.date(), t=bin_type, icon=icon + ) + ) + + if not entries: + raise Exception("Unable to find any bin collection schedules") + + return entries + + def __validate_response(self, bin_collection_data): + if "success" not in bin_collection_data or "data" not in bin_collection_data: + raise Exception("Rother Disctrict Council returned an invalid response") + + if not bin_collection_data["success"]: + raise Exception( + "Rother Disctrict Council returned a non-successful response" + ) + + def __remove_ordinal_indicators(self, original_str: str) -> str: + return re.sub(r"(\d)(st|nd|rd|th)", r"\1", original_str) + + def __resolve_bin_collection_year(self, collection_month: int) -> int: + today = datetime.now() + collection_year = today.year + + # Collection date is in previous year + if collection_month == 12 and today.month == 1: + collection_year -= 1 + + # Collection date is in the next year + elif collection_month == 1 and today.month == 12: + collection_year += 1 + + return collection_year diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/sholland_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/sholland_gov_uk.py index 03f309e7c..05a034ad6 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/sholland_gov_uk.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/sholland_gov_uk.py @@ -1,9 +1,10 @@ -import requests -from waste_collection_schedule import Collection # type: ignore[attr-defined] -from bs4 import BeautifulSoup, Tag import datetime import re +import requests +from bs4 import BeautifulSoup, Tag +from waste_collection_schedule import Collection # type: ignore[attr-defined] + TITLE = "South Holland District Council" DESCRIPTION = "Source for South Holland District Council." URL = "https://www.sholland.gov.uk/" @@ -15,7 +16,7 @@ "PE12 7AR": { "uprn": "100030897036", "postcode": "PE12 7AR", - } + }, } ICON_MAP = { @@ -27,69 +28,70 @@ API_URL = "https://www.sholland.gov.uk/article/7156/Check-your-collection-days" + class Source: def __init__(self, uprn: str | int, postcode: str): self._uprn: str | int = str(uprn) self._postcode: str = postcode - def fetch(self): - args: dict[str, str|list] = { + args: dict[str, str | list] = { "SHDCWASTECOLLECTIONS_FORMACTION_NEXT": "SHDCWASTECOLLECTIONS_PAGE1_CONTINUEBUTTON", "SHDCWASTECOLLECTIONS_PAGE1_POSTCODENEW": self._postcode, "SHDCWASTECOLLECTIONS_PAGE1_BUILDING": "", - "SHDCWASTECOLLECTIONS_PAGE1_ADDRESSLIST": ["", self._uprn] + "SHDCWASTECOLLECTIONS_PAGE1_ADDRESSLIST": ["", self._uprn], } s = requests.Session() - + r = s.get(API_URL) r.raise_for_status() soup = BeautifulSoup(r.text, "html.parser") - - + form = soup.find("form", {"id": "SHDCWASTECOLLECTIONS_FORM"}) if not form or not isinstance(form, Tag): raise Exception("Unable to find form") - + request_url = form.attrs.get("action") hidden_values = form.find_all("input", {"type": "hidden"}) - + if not hidden_values: raise Exception("Unable to find hidden values") - + for val in hidden_values: - if not isinstance(val, Tag) or "SHDCWASTECOLLECTIONS_PAGE1_ADDRESSLIST" == str(val.attrs.get("name")): - continue - args[str(val.attrs.get("name"))] = str(val.attrs.get("value")) - - + if not isinstance( + val, Tag + ) or "SHDCWASTECOLLECTIONS_PAGE1_ADDRESSLIST" == str(val.attrs.get("name")): + continue + args[str(val.attrs.get("name"))] = str(val.attrs.get("value")) - # get collection page r = requests.post(str(request_url), data=args) r.raise_for_status() soup = BeautifulSoup(r.text, "html.parser") - - + entries = [] for d in soup.find_all("div", {"class": "nextcoll"}): if not isinstance(d, Tag): continue - + collection_text = d.text.strip() bin_type = collection_text.split(" ")[1] - icon=ICON_MAP.get(bin_type.lower()) # Collection icon + icon = ICON_MAP.get(bin_type.lower()) # Collection icon splittet_text = collection_text.split(":") - + dates_str = [splittet_text[1].split("(")[0]] if len(splittet_text) > 2: dates_str.append(splittet_text[2].split("(")[0]) - + for date_str in dates_str: date_str = date_str.replace("*", "").strip() - date = datetime.datetime.strptime(re.sub(r'(\d)(st|nd|rd|th)', r'\1', date_str), "%A %d %B %Y").date() - entries.append(Collection(date=date, t=bin_type,icon=icon)) + if not date_str: + continue + date = datetime.datetime.strptime( + re.sub(r"(\d)(st|nd|rd|th)", r"\1", date_str), "%A %d %B %Y" + ).date() + entries.append(Collection(date=date, t=bin_type, icon=icon)) return entries diff --git a/custom_components/waste_collection_schedule/waste_collection_schedule/source/walsall_gov_uk.py b/custom_components/waste_collection_schedule/waste_collection_schedule/source/walsall_gov_uk.py index a501c6812..3fd5b635f 100644 --- a/custom_components/waste_collection_schedule/waste_collection_schedule/source/walsall_gov_uk.py +++ b/custom_components/waste_collection_schedule/waste_collection_schedule/source/walsall_gov_uk.py @@ -1,19 +1,18 @@ import logging -import requests - -from bs4 import BeautifulSoup from datetime import datetime +import requests +from bs4 import BeautifulSoup from waste_collection_schedule import Collection TITLE = "Walsall Council" DESCRIPTION = "Source for waste collection services from Walsall Council" URL = "https://www.walsall.gov.uk/" TEST_CASES = { - "test001" : {"uprn": "100071103746"}, - "test002" : {"uprn": 100071105627}, - "test003" : {"uprn": "100071095946"}, - "test004" : {"uprn": 100071048794}, + "test001": {"uprn": "100071103746"}, + "test002": {"uprn": 100071105627}, + "test003": {"uprn": "100071095946"}, + "test004": {"uprn": 100071048794}, } API_URL = "https://cag.walsall.gov.uk" @@ -35,20 +34,22 @@ def __init__(self, uprn=None): self._uprn = str(uprn) def fetch(self): - s = requests.Session() if self._uprn: # GET request returns page containing links to separate collection schedules - r = s.get(f"https://cag.walsall.gov.uk/BinCollections/GetBins?uprn={self._uprn}", headers=HEADERS) + r = s.get( + f"https://cag.walsall.gov.uk/BinCollections/GetBins?uprn={self._uprn}", + headers=HEADERS, + ) responseContent = r.text soup = BeautifulSoup(responseContent, "html.parser") - # Extract links to collection shedule pages and iterate through the pages - schedule_links = soup.findAll("a", {"class": "nav-link"}, href=True) + # Extract links to collection schedule pages and iterate through the pages + schedule_links = soup.findAll("a", {"class": "select-bin"}, href=True) entries = [] for item in schedule_links: if "roundname" in item["href"]: - #get bin colour + # get bin colour bincolour = item["href"].split("=")[-1].split("%")[0].upper() binURL = API_URL + item["href"] r = s.get(binURL, headers=HEADERS) @@ -57,12 +58,14 @@ def fetch(self): table = soup.findAll("td") for td in table: try: - collection_date = datetime.strptime(td.text.strip(), "%d/%m/%Y") + collection_date = datetime.strptime( + td.text.strip(), "%d/%m/%Y" + ) entries.append( Collection( - date = collection_date.date(), - t = bincolour, - icon = ICON_MAP.get(bincolour), + date=collection_date.date(), + t=bincolour, + icon=ICON_MAP.get(bincolour), ) ) except ValueError: diff --git a/doc/ics/recollect.md b/doc/ics/recollect.md index 8c16851bd..a21486648 100644 --- a/doc/ics/recollect.md +++ b/doc/ics/recollect.md @@ -37,6 +37,7 @@ known to work with: |Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)| |Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)| |Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)| +|Davenport, Iowa|USA|[davenportiowa.com](https://www.davenportiowa.com/cms/One.aspx?portalId=6481456&pageId=17602135) and probably a lot more. @@ -181,3 +182,13 @@ waste_collection_schedule: split_at: '\, (?:and )?|(?: and )' url: https://recollect.a.ssl.fastly.net/api/places/966E4642-75A4-11E8-BBDF-683FCE8203D4/services/200/events.en.ics? ``` +### Davenport, Iowa, USA + +```yaml +waste_collection_schedule: + sources: + - name: ics + args: + split_at: '\, (?:and )?|(?: and )' + url: https://recollect.a.ssl.fastly.net/api/places/9A775DEE-C7FF-11E7-822B-76228DB90E2A/services/319/events.en-US.ics? +``` diff --git a/doc/ics/yaml/recollect.yaml b/doc/ics/yaml/recollect.yaml index 144303d5a..f74d10e71 100644 --- a/doc/ics/yaml/recollect.yaml +++ b/doc/ics/yaml/recollect.yaml @@ -99,6 +99,9 @@ extra_info: - title: Richmond, BC, Canada url: https://www.richmond.ca country: ca + - title: Davenport, Iowa, USA + url: https://www.davenportiowa.com/ + country: us howto: en: | @@ -134,6 +137,7 @@ howto: |Hardin Sanitation, Treasure Valley, Idaho|USA|[hardinsanitation.com](https://www.hardinsanitation.com/home/)| |Hardin Sanitation, City of Eagle, Idaho|USA|[hardinsanitation.com/cityofeagle](https://www.hardinsanitation.com/cityofeagle/)| |Richmond, BC|Canada|[richmond.ca](https://www.richmond.ca/services/recycling-garbage/)| + |Davenport, Iowa|USA|[davenportiowa.com](https://www.davenportiowa.com/cms/One.aspx?portalId=6481456&pageId=17602135) and probably a lot more. @@ -189,3 +193,6 @@ test_cases: Richmond, BC, Canada: url: https://recollect.a.ssl.fastly.net/api/places/966E4642-75A4-11E8-BBDF-683FCE8203D4/services/200/events.en.ics? split_at: '\, (?:and )?|(?: and )' + Davenport, Iowa, USA: + url: https://recollect.a.ssl.fastly.net/api/places/9A775DEE-C7FF-11E7-822B-76228DB90E2A/services/319/events.en-US.ics? + split_at: '\, (?:and )?|(?: and )' diff --git a/doc/source/bridgend_gov_uk.md b/doc/source/bridgend_gov_uk.md new file mode 100644 index 000000000..b47e96ad6 --- /dev/null +++ b/doc/source/bridgend_gov_uk.md @@ -0,0 +1,31 @@ +# Bridgend County Borough Council + +Support for schedules provided by [Bridgend County Borough Council](https://bridgendportal.azurewebsites.net/), serving the city of Bridgend, Wales, UK. + +## Configuration via configuration.yaml + +```yaml +waste_collection_schedule: + sources: + - name: bridgend_gov_uk + args: + uprn: UNIQUE_PROPERTY_REFERENCE_NUMBER +``` + +### Configuration Variables +**uprn** +*(string) (required)* + +## Example + +```yaml +waste_collection_schedule: + sources: + - name: bridgend_gov_uk + args: + uprn: "100100479873" +``` + +## How to find your `UPRN` + +An easy way to find your Unique Property Reference Number (UPRN) is by going to and entering your address details. \ No newline at end of file diff --git a/doc/source/cumberland_gov_uk.md b/doc/source/cumberland_gov_uk.md new file mode 100644 index 000000000..dc7d0d8b6 --- /dev/null +++ b/doc/source/cumberland_gov_uk.md @@ -0,0 +1,37 @@ +# Cumberland Council + +Support for schedules provided by [Cumberland Council](https://waste.cumberland.gov.uk/renderform?t=25&k=E43CEB1FB59F859833EF2D52B16F3F4EBE1CAB6A), serving Cumberland, UK. + +## Configuration via configuration.yaml + +```yaml +waste_collection_schedule: + sources: + - name: cumberland_gov_uk + args: + postcode: POSTCODE + uprn: UPRN +``` + +### Configuration Variables + +**postcode** +*(string) (required)* + +**uprn** +*(string) (required)* + + +## Example + +```yaml +waste_collection_schedule: + sources: + - name: cumberland_gov_uk + args: + postcode: "CA28 7QS" + uprn: "100110319463" +``` + +## How to find your UPRN +An easy way to discover your Unique Property Reference Number (UPRN) is by going to and entering in your address details. \ No newline at end of file diff --git a/doc/source/ics.md b/doc/source/ics.md index 396ca66c2..03a487c59 100644 --- a/doc/source/ics.md +++ b/doc/source/ics.md @@ -325,6 +325,7 @@ This source has been successfully tested with the following service providers: - [City of Gastonia, NC](/doc/ics/recollect.md) / gastonianc.gov - [City of Georgetown, TX](/doc/ics/recollect.md) / texasdisposal.com/waste-wizard - [City of McKinney, TX](/doc/ics/recollect.md) / mckinneytexas.org +- [Davenport, Iowa, USA](/doc/ics/recollect.md) / davenportiowa.com - [Hardin Sanitation, Idaho, USA](/doc/ics/recollect.md) / hardinsanitation.com - [ReCollect](/doc/ics/recollect.md) / recollect.net - [University Park, TX](/doc/ics/recollect.md) / uptexas.org diff --git a/doc/source/rother_gov_uk.md b/doc/source/rother_gov_uk.md new file mode 100644 index 000000000..7b1d5f4a6 --- /dev/null +++ b/doc/source/rother_gov_uk.md @@ -0,0 +1,34 @@ +# Rother District Council + +Support for schedules provided by [Rother District Council](https://www.rother.gov.uk), serving Rother District Council, UK. + +## Configuration via configuration.yaml + +```yaml +waste_collection_schedule: + sources: + - name: rother_gov_uk + args: + uprn: "UNIQUE_PROPERTY_REFERENCE_NUMBER" + +``` + +### Configuration Variables + +**uprn** +*(String | Integer) (required)* + +## Example + +```yaml +waste_collection_schedule: + sources: + - name: rother_gov_uk + args: + uprn: "10002653856" + +``` + +## How to get the UPRN + +Use your address to search for your bin days on the council's website [rother.gov.uk/findmynearest](https://www.rother.gov.uk/findmynearest/). The UPRN will be displayed above the bin collection days. diff --git a/info.md b/info.md index f4cba72bb..ad3aff5e0 100644 --- a/info.md +++ b/info.md @@ -38,8 +38,8 @@ Waste collection schedules from service provider web sites are updated daily, de | Slovenia | Moji odpadki, Ljubljana, Snaga Maribor | | Sweden | Affärsverken, Avfallsapp.se - Multi Source, Boden, Borås Energi och Miljö, EDPEvent - Multi Source, Gästrike Återvinnare, Jönköping - June Avfall & Miljö, Kretslopp Sydost, Kristianstad Renhållning, Landskrona - Svalövs Renhållning, Lerum Vatten och Avlopp, Linköping - Tekniska Verken, Luleå, Lund Waste Collection, Mölndal, Norrtalje Vatten & Avfall, North / Middle Bohuslän - Rambo AB, Region Gotland, Ronneby Miljöteknik, Roslagsvatten, Samverkan Återvinning Miljö (SÅM), Skellefteå, SRV Återvinning, SSAM (Deprecated), SSAM Södra Smalånds Avfall & Miljö, Sysav Sophämntning, Söderköping, Uppsala Vatten, Uppsala Vatten och Avfall AB (Deprecated), VA Syd Sophämntning, VIVAB Sophämtning, Västervik Miljö & Energi | | Switzerland | A-Region, Alchenstorf, Andwil, Appenzell, Berg, Bühler, Canton of Zürich, Eggersriet, Gais, Gaiserwald, Gasel, Goldach, Grosswangen, Grub, Heiden, Herisau, Horn, Hundwil, Häggenschwil, Köniz, Köniz, Liebefeld, Lindau, Lutzenberg, Mittelhäusern, Muolen, Mörschwil, Münchenstein, Münsingen BE, Switzerland, Nieder-/Oberscherli, Niederwangen, Oberwangen, Rapperswil, Real Luzern, Real Luzern, Rehetobel, Rorschach, Rorschacherberg, Sammelkalender.ch, Schliern, Schwellbrunn, Schönengrund, Seon, Speicher, Spiegel, Stadt Bülach, Stein, Steinach, Teufen, Thal, Thörishaus, Trogen, Tübach, Untereggen, Urnäsch, Wabern, Wald, Waldkirch, Waldstatt, Winterthur, Wittenbach, Wolfhalden, ZAKU Entsorgung, Zeba, ZKRI | -| United Kingdom | Aberdeenshire Council, Adur & Worthing Councils, Allerdale Borough Council, Amber Valley Borough Council, Anglesey, Antrim and Newtownabbey, Apps by imactivate, Ards and North Down Borough Council, Arun District Council, Ashfield District Council, Ashford Borough Council, Aylesbury Vale District Council, Barnsley Metropolitan Borough Council, Basildon Council, Basingstoke and Deane Borough Council, Bath & North East Somerset Council, BCP Council, Bedford Borough Council, Binzone, Birmingham City Council, Blackburn with Darwen Borough Council, Blackpool Council, Blaenau Gwent County Borough Council, Borough Council of King's Lynn & West Norfolk, Borough of Broxbourne Council, Bracknell Forest Council, Bradford Metropolitan District Council, Braintree District Council, Breckland Council, Brent Council, Bristol City Council, Broadland District Council, Bromsgrove City Council, Broxtowe Borough Council, Buckinghamshire: Former (Chiltern, South Bucks, Wycombe), Burnley Council, Bury Council, Caerphilly, Wales, Cambridge City Council, Cannock Chase Council, Canterbury City Council, Cardiff Council, Carmarthenshire County Council, Central Bedfordshire Council, Charnwood, Chelmsford City Council, Cherwell District Council, Cheshire East Council, Cheshire West and Chester Council, Chesterfield Borough Council, Chichester District Council, City of Doncaster Council, City Of Lincoln Council, City of York Council, Colchester City Council, Conwy County Borough Council, Cornwall Council, Coventry City Council, Crawley Borough Council (myCrawley), Croydon Council, Dacorum Borough Council, Darlington Borough Council, Dartford Borough Council, Denbighshire County Council, Deprecated: Buckinghamshire, Derby City Council, Dorset Council, Dover District Council, Dudley Metropolitan Borough Council, Dundee City Council, Dundee MyBins, Durham County Council, Ealing Council, East Ayrshire Council, East Cambridgeshire District Council, East Devon District Council, East Herts Council, East Lothian, East Northamptonshire and Wellingborough, East Renfrewshire Council, East Riding of Yorkshire Council, Eastbourne Borough Council, Eastleigh Borough Council, Elmbridge Borough Council, Environment First, Exeter City Council, Falkirk, Fareham Borough Council, FCC Environment, Fenland, Fenland District Council, Fife Council, Flintshire, Folkestone and Hythe District Councol, Fylde Council, Gateshead Council, Gedling Borough Council (unofficial), Glasgow City Council, Guildford Borough Council, Gwynedd, Harborough District Council, Haringey Council, Harlow Council, Hart District Council, Hastings Borough Council, Herefordshire City Council, High Peak Borough Council, Highland, Horsham District Council, Hull City Council, Huntingdonshire District Council, Islington Council, iTouchVision, Itouchvision Source using the encrypted API, Joint Waste Solutions, Kirklees Council, Knowsley Council, Lancaster City Council, Leeds, Leicester City Council, Lewes District Council, Lichfield District Council, Lisburn and Castlereagh City Council, Liverpool City Council, London Borough of Barking and Dagenham, London Borough of Bexley, London Borough of Bromley, London Borough of Camden, London Borough of Harrow, London Borough of Hounslow, London Borough of Lewisham, London Borough of Merton (New), London Borough of Merton (Old), London Borough of Newham, Luton, Maidstone Borough Council, Maldon District Council, Malvern Hills, Malvern Hills District Council, Manchester City Council, Mansfield District Council, Melton Borough Council, Mendip District Council, Mid and East Antrim, Mid-Sussex District Council, Middlesbrough Council, Milton Keynes council, Moray Council, Newark & Sherwood District Council, Newcastle City Council, Newcastle Under Lyme Borough Council, Newport City Council, Newport City Council, North Ayrshire Council, North Herts Council, North Kesteven District Council, North Lanarkshire Council, North Lincolnshire Council, North Norfolk District Council, North Northamptonshire council, North Somerset Council, North West Leicestershire District Council, North Yorkshire Council - Hambleton, North Yorkshire Council - Harrogate, North Yorkshire Council - Scarborough, North Yorkshire Council - Selby, Nottingham City Council, Oadby and Wigston Council, Oldham Council, Oxford City Council, Pembrokeshire County Council, Peterborough City Council, Portsmouth City Council, Reading Council, Redbridge Council, Reigate & Banstead Borough Council, Renfrewshire Council, Rhondda Cynon Taf County Borough Council, Richmondshire District Council, Rochdale Borough Council, Rotherham, Rotherham Metropolitan Borough Council, Royal Borough Of Greenwich, Runnymede Borough Council, Rushcliffe Brough Council, Rushmoor Borough Council, Salford City Council, Sedgemoor District Council, Sefton Council, Sheffield City Council, Shropshire Council, Solihull Council, Somerset Council, Somerset County Council, Somerset West & Taunton District Council, South Cambridgeshire District Council, South Derbyshire District Council, South Gloucestershire Council, South Hams District Council, South Holland District Council, South Kesteven District Council, South Norfolk Council, South Oxfordshire District Council, South Somerset District Council, South Tyneside Council, Southampton City Council, St Albans City & District Council, Stafford Borough Council, Stevenage Borough Council, Stirling.gov.uk, Stockport Council, Stockton-on-Tees Borough Council, Stoke-on-Trent, Stratford District Council, Stroud District Council, Sunderland City Council, Surrey Heath Borough Council, Sutton Council, London, Swale Borough Council, Swansea Council, Swindon Borough Council, Tameside Metropolitan Borough Council, Telford and Wrekin Council, Test Valley Borough Council, Tewkesbury Borough Council, Thanet District Council, The Royal Borough of Kingston Council, Thurrock, Tonbridge and Malling Borough Council, Tunbridge Wells, UK Bin Collection Schedule (UKBCD) project, Uttlesford District Council, Vale of Glamorgan Council, Vale of White Horse District Council, Wakefield Council, Walsall Council, Warrington Borough Council, Warwick District Council, Waverley Borough Council, Wealden District Council, Welwyn Hatfield Borough Council, West Berkshire Council, West Devon Borough Council, West Dunbartonshire Council, West Lothian Council, West Northamptonshire council, West Oxfordshire District Council, West Suffolk Council, Westmorland & Furness Council, Barrow area, Westmorland & Furness Council, South Lakeland area, Wigan Council, Wiltshire Council, Winchester City Council, Windsor and Maidenhead, Wirral Council, Woking Borough Council, Wokingham Borough Council, Worcester City, Wychavon, Wychavon District Council (Deprecated), Wyre Borough Council, Wyre Forest District Council | -| United States of America | Albuquerque, New Mexico, USA, City of Austin, TX, City of Bloomington, City of Cambridge, City of Gastonia, NC, City of Georgetown, TX, City of Los Angeles, CA, City of McKinney, TX, City of Oklahoma City (unofficial), City of Pittsburgh, Hardin Sanitation, Idaho, USA, Louisville, Kentucky, USA, Minneapolis MN USA, New York City, Newark, Delaware, USA, Olympia, Washington, USA, ReCollect, Recycle Coach, Republic Services, Round Rock Texas, Seattle Public Utilities, Tacoma, Washington, USA, Tucson, Arizona, USA, University Park, TX, Waste Connections | +| United Kingdom | Aberdeenshire Council, Adur & Worthing Councils, Allerdale Borough Council, Amber Valley Borough Council, Anglesey, Antrim and Newtownabbey, Apps by imactivate, Ards and North Down Borough Council, Arun District Council, Ashfield District Council, Ashford Borough Council, Aylesbury Vale District Council, Barnsley Metropolitan Borough Council, Basildon Council, Basingstoke and Deane Borough Council, Bath & North East Somerset Council, BCP Council, Bedford Borough Council, Binzone, Birmingham City Council, Blackburn with Darwen Borough Council, Blackpool Council, Blaenau Gwent County Borough Council, Borough Council of King's Lynn & West Norfolk, Borough of Broxbourne Council, Bracknell Forest Council, Bradford Metropolitan District Council, Braintree District Council, Breckland Council, Brent Council, Bridgend County Borough Council, Bristol City Council, Broadland District Council, Bromsgrove City Council, Broxtowe Borough Council, Buckinghamshire: Former (Chiltern, South Bucks, Wycombe), Burnley Council, Bury Council, Caerphilly, Wales, Cambridge City Council, Cannock Chase Council, Canterbury City Council, Cardiff Council, Carmarthenshire County Council, Central Bedfordshire Council, Charnwood, Chelmsford City Council, Cherwell District Council, Cheshire East Council, Cheshire West and Chester Council, Chesterfield Borough Council, Chichester District Council, City of Doncaster Council, City Of Lincoln Council, City of York Council, Colchester City Council, Conwy County Borough Council, Cornwall Council, Coventry City Council, Crawley Borough Council (myCrawley), Croydon Council, Cumberland Council, Dacorum Borough Council, Darlington Borough Council, Dartford Borough Council, Denbighshire County Council, Deprecated: Buckinghamshire, Derby City Council, Dorset Council, Dover District Council, Dudley Metropolitan Borough Council, Dundee City Council, Dundee MyBins, Durham County Council, Ealing Council, East Ayrshire Council, East Cambridgeshire District Council, East Devon District Council, East Herts Council, East Lothian, East Northamptonshire and Wellingborough, East Renfrewshire Council, East Riding of Yorkshire Council, Eastbourne Borough Council, Eastleigh Borough Council, Elmbridge Borough Council, Environment First, Exeter City Council, Falkirk, Fareham Borough Council, FCC Environment, Fenland, Fenland District Council, Fife Council, Flintshire, Folkestone and Hythe District Councol, Fylde Council, Gateshead Council, Gedling Borough Council (unofficial), Glasgow City Council, Guildford Borough Council, Gwynedd, Harborough District Council, Haringey Council, Harlow Council, Hart District Council, Hastings Borough Council, Herefordshire City Council, High Peak Borough Council, Highland, Horsham District Council, Hull City Council, Huntingdonshire District Council, Islington Council, iTouchVision, Itouchvision Source using the encrypted API, Joint Waste Solutions, Kirklees Council, Knowsley Council, Lancaster City Council, Leeds, Leicester City Council, Lewes District Council, Lichfield District Council, Lisburn and Castlereagh City Council, Liverpool City Council, London Borough of Barking and Dagenham, London Borough of Bexley, London Borough of Bromley, London Borough of Camden, London Borough of Harrow, London Borough of Hounslow, London Borough of Lewisham, London Borough of Merton (New), London Borough of Merton (Old), London Borough of Newham, Luton, Maidstone Borough Council, Maldon District Council, Malvern Hills, Malvern Hills District Council, Manchester City Council, Mansfield District Council, Melton Borough Council, Mendip District Council, Mid and East Antrim, Mid-Sussex District Council, Middlesbrough Council, Milton Keynes council, Moray Council, Newark & Sherwood District Council, Newcastle City Council, Newcastle Under Lyme Borough Council, Newport City Council, Newport City Council, North Ayrshire Council, North Herts Council, North Kesteven District Council, North Lanarkshire Council, North Lincolnshire Council, North Norfolk District Council, North Northamptonshire council, North Somerset Council, North West Leicestershire District Council, North Yorkshire Council - Hambleton, North Yorkshire Council - Harrogate, North Yorkshire Council - Scarborough, North Yorkshire Council - Selby, Nottingham City Council, Oadby and Wigston Council, Oldham Council, Oxford City Council, Pembrokeshire County Council, Peterborough City Council, Portsmouth City Council, Reading Council, Redbridge Council, Reigate & Banstead Borough Council, Renfrewshire Council, Rhondda Cynon Taf County Borough Council, Richmondshire District Council, Rochdale Borough Council, Rother District Council, Rotherham, Rotherham Metropolitan Borough Council, Royal Borough Of Greenwich, Runnymede Borough Council, Rushcliffe Brough Council, Rushmoor Borough Council, Salford City Council, Sedgemoor District Council, Sefton Council, Sheffield City Council, Shropshire Council, Solihull Council, Somerset Council, Somerset County Council, Somerset West & Taunton District Council, South Cambridgeshire District Council, South Derbyshire District Council, South Gloucestershire Council, South Hams District Council, South Holland District Council, South Kesteven District Council, South Norfolk Council, South Oxfordshire District Council, South Somerset District Council, South Tyneside Council, Southampton City Council, St Albans City & District Council, Stafford Borough Council, Stevenage Borough Council, Stirling.gov.uk, Stockport Council, Stockton-on-Tees Borough Council, Stoke-on-Trent, Stratford District Council, Stroud District Council, Sunderland City Council, Surrey Heath Borough Council, Sutton Council, London, Swale Borough Council, Swansea Council, Swindon Borough Council, Tameside Metropolitan Borough Council, Telford and Wrekin Council, Test Valley Borough Council, Tewkesbury Borough Council, Thanet District Council, The Royal Borough of Kingston Council, Thurrock, Tonbridge and Malling Borough Council, Tunbridge Wells, UK Bin Collection Schedule (UKBCD) project, Uttlesford District Council, Vale of Glamorgan Council, Vale of White Horse District Council, Wakefield Council, Walsall Council, Warrington Borough Council, Warwick District Council, Waverley Borough Council, Wealden District Council, Welwyn Hatfield Borough Council, West Berkshire Council, West Devon Borough Council, West Dunbartonshire Council, West Lothian Council, West Northamptonshire council, West Oxfordshire District Council, West Suffolk Council, Westmorland & Furness Council, Barrow area, Westmorland & Furness Council, South Lakeland area, Wigan Council, Wiltshire Council, Winchester City Council, Windsor and Maidenhead, Wirral Council, Woking Borough Council, Wokingham Borough Council, Worcester City, Wychavon, Wychavon District Council (Deprecated), Wyre Borough Council, Wyre Forest District Council | +| United States of America | Albuquerque, New Mexico, USA, City of Austin, TX, City of Bloomington, City of Cambridge, City of Gastonia, NC, City of Georgetown, TX, City of Los Angeles, CA, City of McKinney, TX, City of Oklahoma City (unofficial), City of Pittsburgh, Davenport, Iowa, USA, Hardin Sanitation, Idaho, USA, Louisville, Kentucky, USA, Minneapolis MN USA, New York City, Newark, Delaware, USA, Olympia, Washington, USA, ReCollect, Recycle Coach, Republic Services, Round Rock Texas, Seattle Public Utilities, Tacoma, Washington, USA, Tucson, Arizona, USA, University Park, TX, Waste Connections | For full details on supported service providers, and more project details, visit us on [GitHub](https://github.com/mampfes/hacs_waste_collection_schedule).