Skip to content

Commit

Permalink
debug eneity key error
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Feb 15, 2024
1 parent ca8d6f9 commit b176690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/eltako/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _get_identifier(cls, gateway: EnOceanGateway, dev_id: AddressExpression, des
else:
description_key = '_'+description_key

return f"{DOMAIN}_gw{gateway.dev_id}_{config_helpers.format_address(dev_id, '_')}{description_key}"
return f"{DOMAIN}_gw{gateway.dev_id}_{config_helpers.format_address(dev_id)}{description_key}"

def _get_description_key(self, description_key:str=None):
if description_key is not None:
Expand Down

0 comments on commit b176690

Please sign in to comment.