mampfes / hacs_waste_collection_schedule

Home Assistant integration framework for (garbage collection) schedules
MIT License
1.12k stars 670 forks source link

Adding sjshire_wa_gov_au #3004

Closed michaelroper closed 2 weeks ago

michaelroper commented 2 weeks ago

Adding support for the Shire of Serpentine Jarrahdale in Western Australia. This is a source contribution, using the API exposed from the address search on the Shire of Serpentine Jarrahdale Bins and Collection Dates page. The sjshire_wa_gov_au.py and sjshire_wa_gov_au.md files were added, and the README.md and info.md files also updated.

Test output works as below:

$ python test_sources.py -s sjshire_wa_gov_au -l
Testing source sjshire_wa_gov_au ...
  found 6 entries for Monday
    2024-11-11 : Rubbish
    2024-11-18 : Rubbish
    2024-11-25 : Rubbish
    2024-12-02 : Rubbish
    2024-11-11 : Recycling
    2024-11-25 : Recycling
  found 2 entries for Tuesday
    2024-11-12 : Rubbish
    2024-11-19 : Recycling
  found 2 entries for Wednesday
    2024-11-13 : Rubbish
    2024-11-20 : Recycling
  found 2 entries for Thursday
    2024-11-14 : Rubbish
    2024-11-21 : Recycling
  found 2 entries for Friday
    2024-11-08 : Rubbish
    2024-11-08 : Recycling
5ila5 commented 2 weeks ago

Thanks for your contribution.

It looks like I'm geo-blocked so I cannot test this myself. But I did some reformatting (.pre-commit-config.yaml) and run the ./update_docu_links.py script