Skip to content

Commit

Permalink
Fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
make-all committed Mar 3, 2024
1 parent 7057429 commit be959ea
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 @@ -356,7 +356,7 @@ def update_unique_id13_2(entity_entry):
if e.entity == platform and not e.name:
new_id = e.unique_id(device_id)
if (new_suffix and new_id.endswith(new_suffix)) or (
new_suffix is None and new_id.contains(old_suffix)
new_suffix is None and new_id.contains(suffix)
):
_LOGGER.info(
"Migrating %s unique_id %s to %s",
Expand Down

0 comments on commit be959ea

Please sign in to comment.