diff --git a/custom_components/tapo_control/binary_sensor.py b/custom_components/tapo_control/binary_sensor.py index 946c7d2..3a00eae 100644 --- a/custom_components/tapo_control/binary_sensor.py +++ b/custom_components/tapo_control/binary_sensor.py @@ -37,10 +37,6 @@ import haffmpeg.sensor as ffmpeg_sensor -async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - return True - - async def async_setup_entry(hass, config_entry, async_add_entities): LOGGER.debug("Setting up binary sensor for motion.") entry = hass.data[DOMAIN][config_entry.entry_id] diff --git a/custom_components/tapo_control/button.py b/custom_components/tapo_control/button.py index fd1af4c..33e1695 100644 --- a/custom_components/tapo_control/button.py +++ b/custom_components/tapo_control/button.py @@ -11,10 +11,6 @@ from .utils import syncTime, check_and_create -async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - return True - - async def async_setup_entry( hass: HomeAssistant, config_entry: ConfigEntry, diff --git a/custom_components/tapo_control/camera.py b/custom_components/tapo_control/camera.py index d728db8..51bbfb3 100644 --- a/custom_components/tapo_control/camera.py +++ b/custom_components/tapo_control/camera.py @@ -33,10 +33,6 @@ from .utils import build_device_info, getStreamSource -async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - return True - - async def async_setup_entry( hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: Callable ): diff --git a/custom_components/tapo_control/light.py b/custom_components/tapo_control/light.py index c87cc66..51d0f4f 100644 --- a/custom_components/tapo_control/light.py +++ b/custom_components/tapo_control/light.py @@ -11,10 +11,6 @@ from .utils import check_and_create -async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - return True - - async def async_setup_entry( hass: HomeAssistant, config_entry: ConfigEntry, diff --git a/custom_components/tapo_control/number.py b/custom_components/tapo_control/number.py index 86bccc6..342952f 100644 --- a/custom_components/tapo_control/number.py +++ b/custom_components/tapo_control/number.py @@ -11,10 +11,6 @@ from .utils import check_and_create -async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - return True - - async def async_setup_entry( hass: HomeAssistant, config_entry: ConfigEntry, diff --git a/custom_components/tapo_control/select.py b/custom_components/tapo_control/select.py index dd78c6b..fc6a7b5 100644 --- a/custom_components/tapo_control/select.py +++ b/custom_components/tapo_control/select.py @@ -8,10 +8,6 @@ from .utils import check_and_create, getNightModeName, getNightModeValue -async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - return True - - async def async_setup_entry( hass: HomeAssistant, config_entry: ConfigEntry, diff --git a/custom_components/tapo_control/siren.py b/custom_components/tapo_control/siren.py index 30d25b3..6c310a6 100644 --- a/custom_components/tapo_control/siren.py +++ b/custom_components/tapo_control/siren.py @@ -11,10 +11,6 @@ from .utils import check_and_create -async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - return True - - async def async_setup_entry( hass: HomeAssistant, config_entry: ConfigEntry, diff --git a/custom_components/tapo_control/switch.py b/custom_components/tapo_control/switch.py index 28a273c..632eb3e 100644 --- a/custom_components/tapo_control/switch.py +++ b/custom_components/tapo_control/switch.py @@ -9,10 +9,6 @@ from .utils import check_and_create -async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - return True - - async def async_setup_entry( hass: HomeAssistant, config_entry: ConfigEntry,