Skip to content

Commit

Permalink
Hotfix: fix string method name in migration
Browse files Browse the repository at this point in the history
Because it is nested deep within conditions, the tests missed it.

Issue #984
  • Loading branch information
make-all committed Aug 13, 2023
1 parent cf8fefc commit daf4306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/tuya_local/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def update_unique_id13(entity_entry):
break
if e.entity == platform and not e.name:
new_id = e.unique_id(device_id)
if new_id.endsWith(new_suffix):
if new_id.endswith(new_suffix):
_LOGGER.info(
"Migrating %s unique_id %s to %s",
e.entity,
Expand Down

0 comments on commit daf4306

Please sign in to comment.