Загрузка данных
Регистратор: homeassistant.util.loop
Источник: util/loop.py:137
Зафиксировано первый раз: 18:08:16 (2 случая)
Зафиксировано последний раз: 18:08:16
Detected blocking call to load_default_certs with args (<ssl.SSLContext object at 0x7fddd7281d90>, <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 'max_notify' at custom_components/max_notify/notify.py, line 238: ctx = ssl.create_default_context() (offender: /usr/local/lib/python3.14/ssl.py, line 722: context.load_default_certs(purpose)), please create a bug report at https://github.com/kai-zer-ru/max-notify-ha/issues 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 229, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 215, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 289, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete self.run_forever() File "/usr/local/lib/python3.14/asyncio/base_events.py", line 677, in run_forever self._run_once() File "/usr/local/lib/python3.14/asyncio/base_events.py", line 2046, in _run_once handle._run() File "/usr/local/lib/python3.14/asyncio/events.py", line 94, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/core.py", line 905, in async_run_hass_job return self._async_add_hass_job(hassjob, *args, background=background) File "/usr/src/homeassistant/homeassistant/core.py", line 720, in _async_add_hass_job task = create_eager_task( File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 971, in _async_trigger_if_enabled return await self.async_trigger(run_variables, context, skip_condition) File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 868, in async_trigger return await self.action_script.async_run( File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1865, in async_run return await asyncio.shield(create_eager_task(run.async_run())) File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 467, in async_run await self._async_step(log_exceptions=False) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 531, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/trace.py", line 283, in async_wrapper await func(*args) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 948, in _async_step_repeat await self._async_do_step_repeat() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 859, in _async_do_step_repeat await async_run_sequence(iteration, extra_msg) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 810, in async_run_sequence await self._async_run_script(script) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 644, in _async_run_script self._hass.async_create_task_internal( File "/usr/src/homeassistant/homeassistant/core.py", line 794, in async_create_task_internal task = create_eager_task(target, name=name, loop=self.loop) File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1865, in async_run return await asyncio.shield(create_eager_task(run.async_run())) File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 467, in async_run await self._async_step(log_exceptions=False) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 531, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1019, in _async_step_call_service self._hass.async_create_task_internal( File "/usr/src/homeassistant/homeassistant/core.py", line 794, in async_create_task_internal task = create_eager_task(target, name=name, loop=self.loop) File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/core.py", line 2817, in async_call response_data = await coro File "/usr/src/homeassistant/homeassistant/core.py", line 2860, in _execute_service return await target(service_call) File "/config/custom_components/max_notify/services.py", line 1009, in async_send_photo_handler await _send_photo_or_document(service.hass, service.data, as_document=False) File "/config/custom_components/max_notify/services.py", line 987, in _send_photo_or_document await upload_image_and_send( File "/config/custom_components/max_notify/notify.py", line 1589, in upload_image_and_send read_out = await _async_read_media_body_for_upload( File "/config/custom_components/max_notify/notify.py", line 843, in _async_read_media_body_for_upload response = await _download_http_media( File "/config/custom_components/max_notify/notify.py", line 508, in _download_http_media download_ssl = _media_download_ssl(disable_ssl) File "/config/custom_components/max_notify/notify.py", line 238, in _media_download_ssl ctx = ssl.create_default_context()
Detected blocking call to set_default_verify_paths with args (<ssl.SSLContext object at 0x7fddd7281d90>,) inside the event loop by custom integration 'max_notify' at custom_components/max_notify/notify.py, line 238: ctx = ssl.create_default_context() (offender: /usr/local/lib/python3.14/ssl.py, line 534: self.set_default_verify_paths()), please create a bug report at https://github.com/kai-zer-ru/max-notify-ha/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#set_default_verify_paths 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 229, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 215, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 289, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete self.run_forever() File "/usr/local/lib/python3.14/asyncio/base_events.py", line 677, in run_forever self._run_once() File "/usr/local/lib/python3.14/asyncio/base_events.py", line 2046, in _run_once handle._run() File "/usr/local/lib/python3.14/asyncio/events.py", line 94, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/core.py", line 905, in async_run_hass_job return self._async_add_hass_job(hassjob, *args, background=background) File "/usr/src/homeassistant/homeassistant/core.py", line 720, in _async_add_hass_job task = create_eager_task( File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 971, in _async_trigger_if_enabled return await self.async_trigger(run_variables, context, skip_condition) File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 868, in async_trigger return await self.action_script.async_run( File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1865, in async_run return await asyncio.shield(create_eager_task(run.async_run())) File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 467, in async_run await self._async_step(log_exceptions=False) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 531, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/trace.py", line 283, in async_wrapper await func(*args) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 948, in _async_step_repeat await self._async_do_step_repeat() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 859, in _async_do_step_repeat await async_run_sequence(iteration, extra_msg) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 810, in async_run_sequence await self._async_run_script(script) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 644, in _async_run_script self._hass.async_create_task_internal( File "/usr/src/homeassistant/homeassistant/core.py", line 794, in async_create_task_internal task = create_eager_task(target, name=name, loop=self.loop) File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1865, in async_run return await asyncio.shield(create_eager_task(run.async_run())) File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 467, in async_run await self._async_step(log_exceptions=False) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 531, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1019, in _async_step_call_service self._hass.async_create_task_internal( File "/usr/src/homeassistant/homeassistant/core.py", line 794, in async_create_task_internal task = create_eager_task(target, name=name, loop=self.loop) File "/usr/src/homeassistant/homeassistant/util/async_.py", line 44, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/core.py", line 2817, in async_call response_data = await coro File "/usr/src/homeassistant/homeassistant/core.py", line 2860, in _execute_service return await target(service_call) File "/config/custom_components/max_notify/services.py", line 1009, in async_send_photo_handler await _send_photo_or_document(service.hass, service.data, as_document=False) File "/config/custom_components/max_notify/services.py", line 987, in _send_photo_or_document await upload_image_and_send( File "/config/custom_components/max_notify/notify.py", line 1589, in upload_image_and_send read_out = await _async_read_media_body_for_upload( File "/config/custom_components/max_notify/notify.py", line 843, in _async_read_media_body_for_upload response = await _download_http_media( File "/config/custom_components/max_notify/notify.py", line 508, in _download_http_media download_ssl = _media_download_ssl(disable_ssl) File "/config/custom_components/max_notify/notify.py", line 238, in _media_download_ssl ctx = ssl.create_default_context()