Commit Graph

2686 Commits

Author SHA1 Message Date
5ila5
e346be22a6 configFlow add: customize; Improve Sensor; optionsFLOW: keep title
MISSING: Reconfigureing Sensors + Customize in reconfigure or Config flow
2024-06-14 17:45:07 +02:00
5ila5
184f54d7c9 AbfallIO add Rottweil 2024-06-14 17:03:10 +02:00
bdog720
018d6ee683 Update yarra_ranges_vic_gov_au.py
updated rubbish collection icon to a more appropriate icon
2024-06-13 10:52:10 +02:00
danielklejnstrup
c641f57fe1 Add danish favrskovforsyning_dk source (#2139)
* Add files via upload

favrskov_forsyning_dk.py added

* Create favrskov_forsyning_dk.md

* Rename favrskov_forsyning_dk.py to favrskovforsyning_dk.py

* Rename favrskov_forsyning_dk.md to favrskovforsyning_dk.md

* README.md and info.md update for new danish source

* reformatting

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-06-12 21:29:56 +02:00
5ila5
9766e781e7 options flow time_format error shows at the field instead of at the top 2024-06-08 20:13:52 +02:00
5ila5
5e37979f86 add sensor configuration to inital config flow 2024-06-08 20:03:26 +02:00
Marcus Collier
f8d29b0bd3 fix: was going back a day before calculating the current general rubbish day (#2132) 2024-06-08 14:49:09 +02:00
James White
8ede1cf1e4 Update domain for Gedling Borough Council source 2024-06-08 14:33:13 +02:00
5ila5
c35a66c7a2 allow yaml configruation along gui configuration 2024-06-07 12:16:07 +02:00
Marcus Collier
0aba5a320a Feat/adding vicpark wa gov au (#2130)
* feat: added town of vic park council

* docs: added exported vars to docs

* fix: updated icons

* fix: switched to raw string for regex

* reformatting

---------

Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-06-07 12:07:31 +02:00
5ila5
0910847f4d added landkreis cuxhaven to abfall_io 2024-06-06 21:40:05 +02:00
Paweł Hulek
460e6c1700 fix:2066 - Fix edgecases for some cities in ecoharmonogram (#2128)
* fix:2066 -
* split ids
* matching on schedule street name

Signed-off-by: pawel.hulek <pawelhulek@gmail.com>

* reformatting

---------

Signed-off-by: pawel.hulek <pawelhulek@gmail.com>
Co-authored-by: Pawel Hulek <pawel.hulek@gmail.com>
Co-authored-by: 5ila5 <5ila5@users.noreply.github.com>
2024-06-06 21:39:17 +02:00
Marc Jay
a647a4a607 Update haringey_gov_uk as a result of site changes to service names
Fixes #2125
2024-06-05 12:24:06 +02:00
Daniel Raper
e0f06d27a1 Merge remote-tracking branch 'upstream/master' 2024-06-02 22:24:30 +01:00
Dan Raper
d6d081f651 Merge pull request #1 from 5ila5/improve_config_flow
Improve config flow
2024-06-02 22:19:45 +01:00
James White
4f4b13b755 Update docs to provide easier access to .ics files 2024-06-02 19:28:58 +02:00
5ila5
5d342d5495 improve error message if source_index is out of range 2024-06-02 17:55:51 +02:00
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
45a900ce90 added option to reconfigure source 2024-05-25 18:54:51 +02:00
5ila5
919218cc13 reformatting init_ui.py and init_yaml.py 2024-05-25 17:24:42 +02:00
5ila5
9e8e90188a config flow annotation prefer string 2024-05-25 14:09:42 +02:00
5ila5
135ef6b905 config flow fetch error shows err message 2024-05-24 17:26:18 +02:00
5ila5
2bc3111ce5 ashford_gov_uk now shows collections that are due 'Today' 2024-05-24 10:31:30 +02:00
5ila5
5aff9845e8 config flow add lists as supported
add extra info default params
2024-05-24 10:25:21 +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
068d3f48f3 improve config_flow:
preserve values on failed cheks
add custom check methods
2024-05-22 20:31:07 +02:00
5ila5
09a4f71a5f automatically add args to translation 2024-05-20 17:51:04 +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
Daniel Raper
206027bff4 Incorrect comment 2024-05-10 16:23:48 +01:00
Daniel Raper
7dfdfc3035 Documentation updates 2024-05-10 11:37:57 +01: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