Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
veilofsecurity authored Jul 12, 2023
1 parent ef03568 commit 3003ef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/ecowitt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.entity_registry import (
async_get_registry as async_get_entity_registry,
async_get as async_get_entity_registry,
)

from homeassistant.const import (
Expand Down Expand Up @@ -418,7 +418,7 @@ async def remove_entity(self, discovery_info=None):

if self._key in discovery_info.keys():

registry = await async_get_entity_registry(self.hass)
registry = async_get_entity_registry(self.hass)

entity_id = registry.async_get_entity_id(
discovery_info[self._key], DOMAIN, self.unique_id
Expand Down

0 comments on commit 3003ef5

Please sign in to comment.