Skip to content

Commit

Permalink
add burgerportaal and fix afvalstoffendienst
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram van Dartel committed Apr 10, 2023
1 parent db6958e commit f78500d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions custom_components/afvalwijzer/common/main_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def _waste_type_rename(item_name):
item_name = "restafval"
if item_name == "plastic, blik & drinkpakken overbetuwe":
item_name = "pmd"
if item_name == "plastic, blik & drinkpakken arnhem":
item_name = "pmd"
if item_name == "papier en karton":
item_name = "papier"
if item_name == "kerstb":
Expand Down
2 changes: 1 addition & 1 deletion custom_components/afvalwijzer/const/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API = "api"
NAME = "afvalwijzer"
VERSION = "2023.04.01"
VERSION = "2023.04.02"
ISSUE_URL = "https://github.com/xirixiz/homeassistant-afvalwijzer/issues"

SENSOR_COLLECTOR_TO_URL = {
Expand Down
2 changes: 1 addition & 1 deletion custom_components/afvalwijzer/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/xirixiz/homeassistant-afvalwijzer/issues",
"requirements": [],
"version": "2023.04.01"
"version": "2023.04.02"
}
10 changes: 7 additions & 3 deletions custom_components/afvalwijzer/tests/test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
# postal_code = "6665CN"
# street_number = "1"

provider = "prezero"
postal_code = "6822NG"
street_number = "1"

# RD4
# provider = "rd4"
# postal_code = "6301ET"
Expand All @@ -67,9 +71,9 @@
# postal_code = "8021CC"
# street_number = "1"

provider = "rmn"
postal_code = "3402TA"
street_number = "1"
# provider = "rmn"
# postal_code = "3402TA"
# street_number = "1"

# Ximmio
# provider = "meerlanden"
Expand Down

0 comments on commit f78500d

Please sign in to comment.