Hi @anon63427907 ,
Let me start by thanking you for all the work you and bropat have put in. I have been trying to get his integration to work but it seems I can’t. I tried many thinkg even forked versions of the integration but to no avail. I noticed I am not the only one with this problem but so far I haven’t found a solution. It seems that the integration I am using is struggling with some dependencies on the latest pyhon version. I know this is not in your shop but maybe you can point me in the right direction.
Logger: aiohttp.server
Source: custom_components/eufy_security/config_flow.py:55
Integration: Eufy Security
First occurred: 00:16:25 (1 occurrences)
Last logged: 00:16:25
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 82, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 73, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 280, in async_configure
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/config/custom_components/eufy_security/config_flow.py", line 55, in async_step_user
await async_login(
File "/usr/local/lib/python3.10/site-packages/eufy_security/api.py", line 122, in async_login
await api.async_update_device_info()
File "/usr/local/lib/python3.10/site-packages/eufy_security/api.py", line 54, in async_update_device_info
for device_info in devices_resp["data"]:
TypeError: 'NoneType' object is not iterable
Any ideas?
Thanks for checking, much appreciated!
BR,
O.