diff --git a/custom_components/tapo/config_flow.py b/custom_components/tapo/config_flow.py index bdd5856..a1200f0 100755 --- a/custom_components/tapo/config_flow.py +++ b/custom_components/tapo/config_flow.py @@ -212,7 +212,6 @@ async def _try_setup_api( client = TapoClient.create( credential, address=host, port=port, http_session=session ) - await client.initialize() return client except TapoException as error: self._raise_from_tapo_exception(error) diff --git a/custom_components/tapo/manifest.json b/custom_components/tapo/manifest.json index 468b943..0ff608b 100755 --- a/custom_components/tapo/manifest.json +++ b/custom_components/tapo/manifest.json @@ -6,7 +6,7 @@ "iot_class": "local_polling", "documentation": "https://github.com/petretiandrea/home-assistant-tapo-p100", "issue_tracker": "https://github.com/petretiandrea/home-assistant-tapo-p100/issues", - "requirements": ["plugp100==3.14.1"], + "requirements": ["plugp100==4.0.1"], "dependencies": [], "integration_type": "device", "codeowners": ["@petretiandrea"] diff --git a/custom_components/tapo/setup_helpers.py b/custom_components/tapo/setup_helpers.py index fdea0f3..9db244d 100644 --- a/custom_components/tapo/setup_helpers.py +++ b/custom_components/tapo/setup_helpers.py @@ -98,7 +98,6 @@ async def connect_tapo_client( api = TapoClient.create( credentials, address=host, port=port, http_session=session ) - await api.initialize() return api diff --git a/requirements_dev.txt b/requirements_dev.txt index 7aa80b9..e6af8d7 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,5 +1,5 @@ homeassistant==2023.8.3 -plugp100==3.14.1 +plugp100==4.0.1 pre-commit==3.3.3 reorder-python-imports==3.10.0 flake8==6.1.0