Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2024-02-02 00:42:06.667 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
- resp = await request_handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 543, in _handle
- resp = await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 114, in impl
- return await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, 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 80, in ban_middleware
- return await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 233, in auth_middleware
- return await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
- response = await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 149, in handle
- result = await handler(request, **request.match_info)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
- return await func(self, request, *args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 234, in post
- return await super().post(request, flow_id)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, 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 320, in async_configure
- result = await self._async_handle_step(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 416, in _async_handle_step
- result: FlowResult = await getattr(flow, method)(user_input)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/config/custom_components/localtuya/config_flow.py", line 631, in async_step_add_device
- devices, fails = await setup_localtuya_devices(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/config/custom_components/localtuya/config_flow.py", line 1223, in setup_localtuya_devices
- dev_entites = gen_localtuya_entities(dev_data, category)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/config/custom_components/localtuya/core/ha_entities/__init__.py", line 88, in gen_localtuya_entities
- for ent_data in cat_data:
- TypeError: 'LocalTuyaEntity' object is not iterable
- 2024-02-02 00:42:08.204 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
- resp = await request_handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 543, in _handle
- resp = await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 114, in impl
- return await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, 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 80, in ban_middleware
- return await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 233, in auth_middleware
- return await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
- response = await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 149, in handle
- result = await handler(request, **request.match_info)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
- return await func(self, request, *args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 234, in post
- return await super().post(request, flow_id)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, 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 320, in async_configure
- result = await self._async_handle_step(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 416, in _async_handle_step
- result: FlowResult = await getattr(flow, method)(user_input)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/config/custom_components/localtuya/config_flow.py", line 631, in async_step_add_device
- devices, fails = await setup_localtuya_devices(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/config/custom_components/localtuya/config_flow.py", line 1223, in setup_localtuya_devices
- dev_entites = gen_localtuya_entities(dev_data, category)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/config/custom_components/localtuya/core/ha_entities/__init__.py", line 88, in gen_localtuya_entities
- for ent_data in cat_data:
- TypeError: 'LocalTuyaEntity' object is not iterable
- 2024-02-02 00:42:39.102 ERROR (MainThread) [aiohttp.server] Error handling request
- Traceback (most recent call last):
- File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
- resp = await request_handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 543, in _handle
- resp = await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 114, in impl
- return await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, 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 80, in ban_middleware
- return await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 233, in auth_middleware
- return await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
- response = await handler(request)
- ^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 149, in handle
- result = await handler(request, **request.match_info)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
- return await func(self, request, *args, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 234, in post
- return await super().post(request, flow_id)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, 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 316, in async_configure
- result = await self._async_handle_step(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 416, in _async_handle_step
- result: FlowResult = await getattr(flow, method)(user_input)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/config/custom_components/localtuya/config_flow.py", line 925, in async_step_auto_configure_device
- dev_data = gen_localtuya_entities(localtuya_data, category)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/config/custom_components/localtuya/core/ha_entities/__init__.py", line 88, in gen_localtuya_entities
- for ent_data in cat_data:
- TypeError: 'LocalTuyaEntity' object is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement