Skip to content

Commit

Permalink
Add support for Offalkalinder
Browse files Browse the repository at this point in the history
  • Loading branch information
pippyn committed Jan 24, 2024
1 parent 75496fd commit b62f8c1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
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.16",
"version": "5.2.17",
"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
2 changes: 2 additions & 0 deletions custom_components/afvalbeheer/API.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,11 +846,13 @@ class OpzetCollector(WasteCollector):
'duobak': WASTE_TYPE_GREENGREY,
'groente': WASTE_TYPE_GREEN,
'gft': WASTE_TYPE_GREEN,
'groene container': WASTE_TYPE_GREEN,
'chemisch': WASTE_TYPE_KCA,
'kca': WASTE_TYPE_KCA,
'tariefzak restafval': WASTE_TYPE_GREY_BAGS,
'restafvalzakken': WASTE_TYPE_GREY_BAGS,
'rest': WASTE_TYPE_GREY,
'grijze container': WASTE_TYPE_GREY,
'plastic': WASTE_TYPE_PACKAGES,
'papier': WASTE_TYPE_PAPER,
'textiel': WASTE_TYPE_TEXTILE,
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.16 20240124
Current Version: 5.2.17 20240124
20230705 - Added support for Afval3xBeter
20230822 - Fix icon for papier-pmd
20230927 - Fix ZRD API
Expand All @@ -13,6 +13,7 @@
20240109 - Change dateobject to date
20240122 - Add support for Montferland API
20240124 - Update RecycleApp X-Secret
20240124 - Add support for Offalkalinder
Example config:
Configuration.yaml:
Expand Down Expand Up @@ -48,7 +49,7 @@
from .API import get_wastedata_from_config


__version__ = "5.2.16"
__version__ = "5.2.17"


_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 @@ -86,6 +86,7 @@
'middelburg-vlissingen': 'https://afvalwijzer.middelburgvlissingen.nl',
'mijnafvalzaken': 'https://mijnafvalzaken.nl',
'montfoort': 'https://afvalkalender.cyclusnv.nl',
'offalkalinder': 'https://www.offalkalinder.nl',
'peelenmaas': 'https://afvalkalender.peelenmaas.nl',
'prezero': 'https://inzamelwijzer.prezero.nl',
'purmerend': 'https://afvalkalender.purmerend.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.16"
"version": "5.2.17"
}

0 comments on commit b62f8c1

Please sign in to comment.