Skip to content

Commit

Permalink
fix: method renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomes committed Feb 25, 2024
1 parent 2a4bfce commit dcc4875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/openhasp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ async def async_remove_entry(hass, entry):
device_registry.async_remove_device(dev.id)

# Component does not remove entity from entity_registry, so we must do it
registry = await entity_registry.async_get_registry(hass)
registry = await entity_registry.async_get(hass)
registry.async_remove(hass.data[DOMAIN][CONF_PLATE][plate].entity_id)

# pylint: disable=R0902
Expand Down

0 comments on commit dcc4875

Please sign in to comment.