From 009d8c6085edef650ba1cc98d10c6311c4cc7c8e Mon Sep 17 00:00:00 2001 From: Tomaae <23486452+tomaae@users.noreply.github.com> Date: Wed, 9 Aug 2023 02:24:20 +0200 Subject: [PATCH] removed async_added/removed_to_hass override --- custom_components/mikrotik_router/entity.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/custom_components/mikrotik_router/entity.py b/custom_components/mikrotik_router/entity.py index cf0d520..cfae5ef 100644 --- a/custom_components/mikrotik_router/entity.py +++ b/custom_components/mikrotik_router/entity.py @@ -284,14 +284,6 @@ class MikrotikEntity(CoordinatorEntity[MikrotikCoordinator], Entity): return attributes - async def async_added_to_hass(self) -> None: - """Run when entity about to be added to hass""" - _LOGGER.debug("New entity %s (%s)", self._inst, self.unique_id) - - async def async_will_remove_from_hass(self) -> None: - """Run when entity about to be removed from hass""" - _LOGGER.debug("Removing entity %s (%s)", self._inst, self.unique_id) - async def start(self): """Dummy run function""" raise NotImplementedError()