Commit Graph

2539 Commits

Author SHA1 Message Date
5ila5
9fff0dc01f add source specifc day_offset parameter 2024-06-02 17:54:36 +02:00
5ila5
942b736739 fix bug where random_fetch_time_offset: 0 leads to an error because random.randrange(0, 0) is called 2024-06-02 15:31:11 +02:00
5ila5
d22da9b9d0 fix app_abfallplus_de for apps that show a lot of collection types below a Sondermüll Headline 2024-05-30 18:40:34 +02:00
5ila5
fa12a595ef fix maidstone_gov_uk 2024-05-30 17:16:21 +02:00
5ila5
94433c0b18 bsr_de remove offset from ICS class as it would return wrong dates 2024-05-30 15:13:51 +02:00
James White
f1e0f3d35d Fix typo on example iCal calendar example 2024-05-30 14:52:31 +02:00
James White
78625e92fd Add Gedling Borough Council (unofficial) 2024-05-27 20:47:46 +02:00
5ila5
2bc3111ce5 ashford_gov_uk now shows collections that are due 'Today' 2024-05-24 10:31:30 +02:00
Tatham Oddie
5711816eab Introduce VS Code debug config
This allows you to be editing a source script in VS Code, then just
press F5 to run it through the test script with the debugger attached.

Supports Python and ICS-based sources.
2024-05-23 20:03:00 +02:00
MrMaxP
5f0adcec02 Adding bromsgrove gov uk (#2090)
* Added Bromsgrove UK

* Added missing comment

* Fixed bug retireving icon

* Updated info.md and README.md

* Corrected display name

* refromatting

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
Co-authored-by: 5ila5 <38183212+5ila5@users.noreply.github.com>
2024-05-22 21:34:24 +02:00
Michael Hallmann
3afa6f1ad0 Update app_abfallplus_de.md (#1539)
* Update app_abfallplus_de.md

Updated doc for Abfall+ and added an example for Kreis Waldshut (Issue ##1537), thank to the help of @5ila5

* rename one Waldshut to Kreis Waldshut

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
Co-authored-by: 5ila5 <38183212+5ila5@users.noreply.github.com>
2024-05-22 21:28:25 +02:00
SimonLeigh
8f8a641650 Add support for Borough of Broxbourne Council (UK), broxbourne.gov.uk. (#2054)
* creating copy of oxford for broxbourne collection days form

* Partially working Broxbourne implementation, broken where not all services available

* Working Broxbourne implementation

* Adding comments that explain Broxbourne's table structure

* Adding markdown for Broxbourne

* Added README and info.md updates, fixed handling of the current year for Broxbourne API

* Adding an integer UPRN test case per recent comments on Birmingham PR

* remove leap year error + reformatting

---------

Co-authored-by: Simon Leigh <simon.leigh@ditto.live>
Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
Co-authored-by: 5ila5 <38183212+5ila5@users.noreply.github.com>
2024-05-22 21:22:56 +02:00
larena1
2eb8a854a7 Import from thread instead event loop 2024-05-22 20:58:18 +02:00
Luca Lindhorst
60c8d9c5db wermelskirchen ics API service down 2024-05-22 20:55:37 +02:00
Gernot
7e654795c5 Addition of wast collection schedule for Landratsamt Regensburg (AWIDO.de) (#2075)
* Update awido_de.md

Added lra-regensburg for Landratsamt Regensburg

* awido add lra-regensburg

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
Co-authored-by: 5ila5 <38183212+5ila5@users.noreply.github.com>
2024-05-22 20:55:00 +02:00
5ila5
9f93b2118b maldon_gov_uk additionaly returns 'Last Collection' dates + reformatting 2024-05-20 17:08:00 +02:00
Tatham Oddie
d412e3cc2b Fix mansfield_vic_gov_au (#2096)
* fix mansfield_vic_gov_au

* reformatting

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-05-20 16:36:24 +02:00
DFJ
cdb90732ff Add source: Kiertokapula FI (#2091)
* Create kiertokapula_fi.py

* Create kiertokapula_fi.md

* Small fixes

* Improvement to code

* reformatting

* add Finland to md files + ./update_docu_links.py

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-05-20 16:28:48 +02:00
Joe Ashworth
6895e9a9ac Adding Bury Council, UK (#2088)
* Adding Bury Council, UK

* Changing ID to UPRN

* Adding docs and info.md

* Adding docs and info.md

* Changing regex and uprn to ID

* reformatting + one id test case integer + change UPRN to id in md file

---------

Co-authored-by: Joe Ashworth <joe@joeashworth.io>
Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-05-17 14:09:00 +02:00
shinrath
bd62c25aac Glasgow update (#2084)
* Glasgow City Council has updated their web URL and this has casued issues with the bin infomation, I have updated my install at home and found updating this has worked, could you please review to and update for future users

* updated docs MD (missed the URL at the top)
2024-05-14 16:22:42 +02:00
tobik176
bba725fabc Update citiesapps_com.md (#2087)
* Update citiesapps_com.md

Updated doc for citiesapps_com and added city Leibnitz to the description, since our city is now using the Cities App. I tried the addon for city Leibnitz and the waste calendar of the subcommunity Seggauberg is working.

* Update CitiesAppsCom.py

added city Leibnitz

* added city Leibnitz
2024-05-14 16:19:49 +02:00
Scott McGready
000a52a2b4 Added North Ayrshire, UK (#2074)
* Added North Ayrshire, UK

* reformatting + convert one test case to string

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
Co-authored-by: 5ila5 <38183212+5ila5@users.noreply.github.com>
2024-05-09 13:50:21 +02:00
Scott McGready
65ffe2d81b added East Ayrshire, UK as a source (#2073)
* added East Ayrshire, UK as a source

* reformatting + convert one test case to string

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-05-09 13:44:11 +02:00
Danny Allen
a039d36a11 Fix: code quality (#2063)
* Remove debugging `print` statements from sources

* Remove duplicated dict item

* Remove semicolon from Python code

* Don't use f-strings when not needed

* General cleanup of `maidstone_gov_uk` source

* General cleanup of `lewisham_gov_uk` source

* General cleanup of `reigatebanstead_gov_uk` source

* `urpn` should be `uprn`, fix typo

* Remove unused code / variables

* General cleanup of `west_norfolk_gov_uk` source

* Add missing new line

* General cleanup of `thehills_nsw_gov_au` source, and fix 2nd test case

* Be consistent with use of `urllib3.disable_warnings` across sources

* `requests.packages.urllib3.disable_warnings()` doesn't seem to be needed in `northnorthants_gov_uk`

* Remove unused imports
2024-05-09 13:33:52 +02:00
Scott McGready
e4c2532de2 add Renfrewshire council, UK (#2070)
* add Renfrewshire council, UK

* reforamtting + change URL to API_URL

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
Co-authored-by: 5ila5 <38183212+5ila5@users.noreply.github.com>
2024-05-08 22:54:01 +02:00
dhicock
22ee11d62a Add documentation for Austin, TX (#2069)
Co-authored-by: 5ila5 <38183212+5ila5@users.noreply.github.com>
2024-05-08 22:44:57 +02:00
5ila5
039dedf5da add ICS documentation for herten_de 2024-05-08 22:37:29 +02:00
Danny Allen
662005ded0 Add support for Birmingham City Council (UK), birmingham.gov.uk (#2049)
* Add support for Birmingham City Council (UK), birmingham.gov.uk

* Update code logic of `birmingham_gov_uk` to reduce indentation

* Update `birmingham_gov_uk` test cases to demonstrate integer UPRN's

* Be more resilient to unknown collection types, and still return them, just with an "question mark" icon

* reformatting

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-05-08 22:23:27 +02:00
Danny Allen
cddfda6add Fix typo in icon specification: "varient" should be "variant".
Fixes #2061
2024-05-07 16:41:51 +02:00
5ila5
4a688b439d version bump to 1.49.0 2024-05-04 14:32:57 +02:00
5ila5
00e9f0404a app_abfallplus_de make street and hnr optional if only one available anyway 2024-05-04 14:29:18 +02:00
5ila5
b513f8fec4 remove deprecated function call 'async_load_platform' 2024-05-03 16:16:24 +02:00
5ila5
f6d9aea52e fix ashford_gov_uk 2024-05-01 18:54:33 +02:00
5ila5
56a0b48210 add West Northamptonshire council, UK 2024-04-30 10:36:17 +02:00
5ila5
190c8aaca5 add sutton_gov_uk 2024-04-28 16:03:53 +02:00
5ila5
9be021afb4 fix sepan_remodis_pl returning wrong dates 2024-04-28 15:24:20 +02:00
5ila5
e457f11f3b fix gateshead_gov_uk 2024-04-28 15:08:57 +02:00
AleXXw1
21c6ef168d adding St. Pölten (#2027)
* adding St. Pölten

* fix country + ./update_docu_links.py

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-04-28 14:38:54 +02:00
ReneNulschDE
8867fcc8cc Fix-awlneuss-loadFullYear 2024-04-24 18:02:35 +02:00
5ila5
2ddbb6a10b adding eastleigh_gov_uk 2024-04-23 21:13:50 +02:00
ReneNulschDE
b79009bc6c Initial commit - North Yorkshire Scarborough 2024-04-23 20:24:49 +02:00
Rene Nulsch
503eef57c9 Source: AppAbfallPlusDE - Add app-specific user-agent to request header (#2006)
* Add dedicated user agents

* Fix test case comments
2024-04-23 20:13:05 +02:00
5ila5
b5c25cbd8b fix gateshead_gov_uk 2024-04-22 19:19:06 +02:00
Alexander Lauster
f4be28d9e6 Add AWP Pfaffenhofen an der Ilm 2024-04-22 18:00:49 +02:00
Rene Nulsch
a833f17efa Fix v2: Source: AppAbfallPlusDE - Add user-agent to request (#2001)
* Fix other apps

* Fix Bonn Orange Testcase
2024-04-22 17:56:07 +02:00
5ila5
70c863e8f7 ICS: stadreiiknigung_leipzig_de update description 2024-04-20 13:52:26 +02:00
Zach Herb
8c3473f7c3 Adding hawkesbury nsw gov au (#1956)
* Added hawkesbury.nsw.gov.au as a source

* Updated docs and removed filtering

* Updated MD

* Updated based on recommendations

* comments

* Added missing array index

---------

Co-authored-by: Zach Herberstein <Zach.herberstein@pernod-ricard.com>
2024-04-19 15:08:12 +02:00
ReneNulschDE
271d7b6840 Add user-agent to request 2024-04-19 15:04:03 +02:00
kalmatthew
eab822929b Update waverley_gov_uk.md
Added clearer instructions about ensuring only a single entry for your search params and ignoring the guidance from waverly to use only Postcode
2024-04-19 14:41:50 +02:00
5ila5
eb83abbd1a fix harringey_gov_uk not working for addresses that list communal collections 2024-04-17 17:30:55 +02:00