Skip to content

Commit

Permalink
Ruffed
Browse files Browse the repository at this point in the history
  • Loading branch information
bouwew committed May 10, 2024
1 parent aaffb67 commit 7634328
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions homeassistant/components/plugwise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ def async_migrate_entity_entry(entry: er.RegistryEntry) -> dict[str, Any] | None
"-relative_humidity"
):
return {
"new_unique_id": entry.unique_id.replace(
"-relative_humidity", "-humidity"
)
"new_unique_id": entry.unique_id.replace("-relative_humidity", "-humidity")
}
if entry.domain == Platform.SWITCH and entry.unique_id.endswith("-plug"):
return {"new_unique_id": entry.unique_id.replace("-plug", "-relay")}
Expand Down

0 comments on commit 7634328

Please sign in to comment.