Skip to content

Commit

Permalink
Added support for Afval3xBeter
Browse files Browse the repository at this point in the history
  • Loading branch information
pippyn committed Jul 5, 2023
1 parent f31deca commit 3cb79ae
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Home Assisant sensor component for Afvalbeheer

Provides Home Assistant sensors for multiple Dutch and Belgium waste collectors using REST API.
This sensor works with the following waste collectors: Blink, Cure, Suez, ACV, Twente Milieu, Hellendoorn, Cyclus, DAR, HVC Groep, Meerlanden, RMN (Reinigingsbedrijf Midden Nederland), Schouwen-Duiveland, Peel en Maas, Purmerend, Circulus-Berkel (Afvalvrij), Avalex, Venray, Den Haag, Berkelland, Alphen aan den Rijn, Waalre, ZRD, Spaarnelanden, SudwestFryslan, Montfoort, GAD, Cranendonck, ROVA, RD4, Limburg.NET, Afval Alert, RecycleApp, DeAfvalApp, Alkmaar, AreaReiniging, Almere, Waardlanden, Reinis, Avri, Omrin, BAR, RAD, Meppel, PreZero, Lingewaard Voorschoten, Westland and Middelburg-Vlissingen.
This sensor works with the following waste collectors: Blink, Cure, Suez, ACV, Twente Milieu, Hellendoorn, Cyclus, DAR, HVC Groep, Meerlanden, RMN (Reinigingsbedrijf Midden Nederland), Schouwen-Duiveland, Peel en Maas, Purmerend, Circulus-Berkel (Afvalvrij), Avalex, Venray, Den Haag, Berkelland, Alphen aan den Rijn, Waalre, ZRD, Spaarnelanden, SudwestFryslan, Montfoort, GAD, Cranendonck, ROVA, RD4, Limburg.NET, Afval Alert, RecycleApp, DeAfvalApp, Alkmaar, AreaReiniging, Almere, Waardlanden, Reinis, Avri, Omrin, BAR, RAD, Meppel, PreZero, Lingewaard Voorschoten, Westland, Afval3xBeter and Middelburg-Vlissingen.

Cure users should switch to the waste collector MijnAfvalwijzer

Expand Down Expand Up @@ -65,6 +65,7 @@ wastecollector:
```
Choose your collector from this list:
- ACV
- Afval3xBeter
- Afvalstoffendienstkalender
- AfvalAlert
- Alkmaar
Expand Down
2 changes: 1 addition & 1 deletion custom_components.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sensor.afvalbeheer": {
"version": "5.2.6",
"version": "5.2.7",
"local_location": "/custom_components/afvalbeheer/__init__.py",
"remote_location": "https://raw.githubusercontent.com/pippyn/Home-Assistant-Sensor-Afvalbeheer/master/custom_components/afvalbeheer/__init__.py",
"visit_repo": "https://github.com/pippyn/Home-Assistant-Sensor-Afvalbeheer",
Expand Down
5 changes: 3 additions & 2 deletions custom_components/afvalbeheer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Sensor component for waste pickup dates from dutch and belgium waste collectors
Original Author: Pippijn Stortelder
Current Version: 5.2.6 20230523
Current Version: 5.2.7 20230705
20220829 - Major change: Added Calendar support (credits @WouterTuinstra)
20220829 - Give persistant notifications unique id's
20220901 - Code cleanup
Expand All @@ -28,6 +28,7 @@
20230424 - Fix RecycleApp authentication
20230508 - Added support for Mijnafvalzaken
20230523 - Limburg.NET adjustments
20230705 - Added support for Afval3xBeter
Example config:
Configuration.yaml:
Expand Down Expand Up @@ -63,7 +64,7 @@
from .API import get_wastedata_from_config


__version__ = "5.2.6"
__version__ = "5.2.7"


_LOGGER = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions custom_components/afvalbeheer/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@

OPZET_COLLECTOR_URLS = {
'alphenaandenrijn': 'https://afvalkalender.alphenaandenrijn.nl',
'afval3xbeter': 'https://afval3xbeter.nl',
'berkelland': 'https://afvalkalender.gemeenteberkelland.nl',
'blink': 'https://mijnblink.nl',
'cranendonck': 'https://afvalkalender.cranendonck.nl',
Expand Down
2 changes: 1 addition & 1 deletion custom_components/afvalbeheer/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"rsa",
"pycryptodome"
],
"version": "5.2.6"
"version": "5.2.7"
}
1 change: 1 addition & 0 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Provides Home Assistant sensors for multiple Dutch and Belgium waste collectors using REST API.
This sensor works with the following waste collectors:
- ACV
- Afval3xBeter
- Afvalstoffendienstkalender
- AfvalAlert
- Alkmaar
Expand Down

0 comments on commit 3cb79ae

Please sign in to comment.