Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2025-01-31 20:24:05.615 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x7f81b26d9370>, <Purpose.SERVER_AUTH: _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='1.3.6.1.5.5.7.3.1')>) inside the event loop by custom integration 'freeathome' at custom_components/freeathome/fah/pfreeathome.py, line 220: slixmpp.ClientXMPP.__init__(self, jid, password, sasl_mech='SCRAM-SHA-1') (offender: /usr/local/lib/python3.13/ssl.py, line 722: context.load_default_certs(purpose)), please report it to the author of the 'freeathome' custom integration
- For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_default_certs
- Traceback (most recent call last):
- File "<frozen runpy>", line 198, in _run_module_as_main
- File "<frozen runpy>", line 88, in _run_code
- File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
- sys.exit(main())
- File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
- exit_code = runner.run(runtime_conf)
- File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
- return loop.run_until_complete(setup_and_run_hass(runtime_config))
- File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete
- self.run_forever()
- File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever
- self._run_once()
- File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once
- handle._run()
- File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
- self._context.run(self._callback, *self._args)
- File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 480, in _handle_request
- resp = await request_handler(request)
- File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle
- return await handler(request)
- File "/usr/local/lib/python3.13/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 92, in security_filter_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
- response = await handler(request)
- File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
- result = await handler(request, **request.match_info)
- File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
- return await func(self, request, *args, **kwargs)
- File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 222, in post
- return await super().post(request, flow_id)
- File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
- return await method(view, request, data, *args, **kwargs)
- File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 122, in post
- result = await self._flow_mgr.async_configure(flow_id, data)
- File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 341, in async_configure
- result = await self._async_configure(flow_id, user_input)
- File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 388, in _async_configure
- result = await self._async_handle_step(
- File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 491, in _async_handle_step
- result: _FlowResultT = await getattr(flow, method)(user_input)
- File "/config/custom_components/freeathome/config_flow.py", line 165, in async_step_link
- return await self.async_step_user(user_input)
- File "/config/custom_components/freeathome/config_flow.py", line 134, in async_step_user
- info = await validate_input(self.hass, user_input)
- File "/config/custom_components/freeathome/config_flow.py", line 41, in validate_input
- await sysap.connect()
- File "/config/custom_components/freeathome/fah/pfreeathome.py", line 906, in connect
- self.xmpp = Client(self._jid, self._password, self._host, self._port, fahversion, iterations, salt, self.reconnect)
- File "/config/custom_components/freeathome/fah/pfreeathome.py", line 220, in __init__
- slixmpp.ClientXMPP.__init__(self, jid, password, sasl_mech='SCRAM-SHA-1')
- 2025-01-31 20:24:06.654 WARNING (MainThread) [custom_components.freeathome.fah.pfreeathome] Connection with SysAP lost
- 2025-01-31 20:25:02.335 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending! (<Task pending name='Task-1035' coro=<XMLStream.run_filters() running at /usr/local/lib/python3.13/site-packages/slixmpp/xmlstream/xmlstream.py:1262> wait_for=<Future pending cb=[Task.task_wakeup()]>>)
- 2025-01-31 20:27:03.510 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/config/freeathome_monitor_192.168.1.2_2025_01_31_20_27_03.xml', 'wt') inside the event loop by custom integration 'freeathome' at custom_components/freeathome/__init__.py, line 114: f = open(hass.config.path(filename), "wt") (offender: /config/custom_components/freeathome/__init__.py, line 114: f = open(hass.config.path(filename), "wt")), please report it to the author of the 'freeathome' custom integration
- For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
- Traceback (most recent call last):
- File "<frozen runpy>", line 198, in _run_module_as_main
- File "<frozen runpy>", line 88, in _run_code
- File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module>
- sys.exit(main())
- File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main
- exit_code = runner.run(runtime_conf)
- File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
- return loop.run_until_complete(setup_and_run_hass(runtime_config))
- File "/usr/local/lib/python3.13/asyncio/base_events.py", line 707, in run_until_complete
- self.run_forever()
- File "/usr/local/lib/python3.13/asyncio/base_events.py", line 678, in run_forever
- self._run_once()
- File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2033, in _run_once
- handle._run()
- File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
- self._context.run(self._callback, *self._args)
- File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 480, in _handle_request
- resp = await request_handler(request)
- File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle
- return await handler(request)
- File "/usr/local/lib/python3.13/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 92, in security_filter_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
- return await handler(request)
- File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
- response = await handler(request)
- File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
- result = await handler(request, **request.match_info)
- File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 57, in get
- return await WebSocketHandler(request.app[KEY_HASS], request).async_handle()
- File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 343, in async_handle
- await self._async_websocket_command_phase(connection)
- File "/usr/src/homeassistant/homeassistant/components/websocket_api/http.py", line 494, in _async_websocket_command_phase
- async_handle_str(command_msg_data)
- File "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 237, in async_handle
- handler(self.hass, self, schema(msg))
- File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 69, in with_admin
- func(hass, connection, msg)
- File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 47, in schedule_handler
- hass.async_create_background_task(
- File "/usr/src/homeassistant/homeassistant/core.py", line 864, in async_create_background_task
- task = create_eager_task(target, name=name, loop=self.loop)
- File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
- return Task(coro, loop=loop, name=name, eager_start=True)
- File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
- await func(hass, connection, msg)
- File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 816, in handle_execute_script
- script_result = await script_obj.async_run(
- File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1810, in async_run
- return await asyncio.shield(create_eager_task(run.async_run()))
- File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
- return Task(coro, loop=loop, name=name, eager_start=True)
- File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 464, in async_run
- await self._async_step(log_exceptions=False)
- File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 526, in _async_step
- await getattr(self, handler)()
- File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 765, in _async_call_service_step
- self._hass.async_create_task_internal(
- File "/usr/src/homeassistant/homeassistant/core.py", line 832, in async_create_task_internal
- task = create_eager_task(target, name=name, loop=self.loop)
- File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
- return Task(coro, loop=loop, name=name, eager_start=True)
- File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
- response_data = await coro
- File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
- return await target(service_call)
- File "/config/custom_components/freeathome/__init__.py", line 114, in async_monitor_service
- f = open(hass.config.path(filename), "wt")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement