Skip to content

Commit

Permalink
Always make suffix uppercase for Burgerportaal
Browse files Browse the repository at this point in the history
  • Loading branch information
pippyn committed Apr 18, 2023
1 parent b540348 commit 938ec95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/afvalbeheer/API.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def __fetch_address_id(self):

if self.suffix:
for address in response:
if 'addition' in address and address['addition'] == self.suffix:
if 'addition' in address and address['addition'] == self.suffix.upper():
self.address_id = address['addressId']

if not self.address_id:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/afvalbeheer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
20230406 - New API for RMN and BAR
20230407 - Fix mapping for BAR
20230418 - Added support for suffix in address for RMN and BAR
20230418 - Changed Dutch month names to lower case
20230418 - Changed Dutch month names to lowercase
Example config:
Configuration.yaml:
Expand Down

0 comments on commit 938ec95

Please sign in to comment.