Closed hmeth closed 1 year ago
That happened to me too and it got fixed after removing the onvif folder from custom_integrations (I was trying a suggestion from a different issue where I had to clone an old revision of the onvif integration. Another solution might be to fix the version to the one this integration is expecting, but I reckon this may be harder.
Make sure you are using latest versions of both integration and ha.
Thanks @pgarciafc, ou led me down the right path, I had old versions of the tapo-control component, in my custom_components folder. I removed them so I only have one folder and it works now.
Description
Since the latest update to HA I'm getting the following error on my integration in HA logs and the integration doesn't work anymore, it's installed manually through custom_components folder.
Camera: Tapo C210 (everything works in Tapo app)
Home assistant version 2023.5.2
tapo_control version : 5.2.2
Full error in HA logs:
Logger: homeassistant.setup Source: setup.py:214 First occurred: 9 May 2023 at 15:57:27 (1 occurrences) Last logged: 9 May 2023 at 15:57:27
Setup failed for custom integration tapo_control: Unable to import component: cannot import name 'retry_connection_error' from 'onvif.client' (/usr/local/lib/python3.10/site-packages/onvif/client.py)
Reproduction Steps
Copy tapo_control to custom_components folder. Restart home assistant Check logs and integration status
Expected behavior
No error and integration works.
If applicable, add error logs.
No response
Device Firmware
Version:1.3.1 Build 221218 Rel.73283n (4555)
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Docker
Search for similar issues
Yes
Additional information
No response