Home Assistant Community Store
GitHub API | ok
-- | --
GitHub Content | ok
GitHub Web | ok
GitHub API Calls Remaining | 4894
Installed Version | 1.34.0
Stage | running
Available Repositories | 1386
Downloaded Repositories | 17
Home Assistant Cloud
logged_in | false
-- | --
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok
Dashboards
dashboards | 6
-- | --
resources | 4
views | 6
mode | storage
Recorder
oldest_recorder_run | 21 июля 2024 г. в 14:18
-- | --
current_recorder_run | 22 июля 2024 г. в 11:38
estimated_db_size | 527.14 MiB
database_engine | sqlite
database_version | 3.45.3
Sonoff
version | 3.7.3 (e240aaf)
-- | --
cloud_online | 9 / 11
local_online | 9 / 9
debug | failed to load:
Xiaomi Miot Auto
component_version | 0.7.19
-- | --
can_reach_server | ok
can_reach_spec | ok
logged_accounts | 1
total_devices | 2
Checklist
[ ] I have enabled debug logging for my installation.
[ ] I have filled out the issue template to the best of my ability.
[ ] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[ ] This issue is not a duplicate issue of any previous issues..
Describe the issue
Reproduction steps
Debug logs
Регистратор: homeassistant.util.loop
Источник: util/loop.py:136
Первое сообщение: 11:49:45 (2 сообщений)
Последнее сообщение: 11:49:45
Detected blocking call to open with args ('/config/.storage/gismeteo.location_53.149028920430716_50.01310229301453.xml', 'w') inside the event loop by custom integration 'gismeteo' at custom_components/gismeteo/cache.py, line 95: with open(file_path, "w", encoding="utf-8") as fp: (offender: /config/custom_components/gismeteo/cache.py, line 95: with open(file_path, "w", encoding="utf-8") as fp:), please create a bug report at https://github.com/Limych/ha-gismeteo/issues 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 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle resp = await handler(request) File "/usr/local/lib/python3.12/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 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 85, 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 368, in async_configure result = await self._async_configure(flow_id, user_input) File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 415, in _async_configure result = await self._async_handle_step( File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 518, in _async_handle_step result: _FlowResultT = await getattr(flow, method)(user_input) File "/config/custom_components/gismeteo/config_flow.py", line 66, in async_step_user await gismeteo.async_update() File "/config/custom_components/gismeteo/api.py", line 631, in async_update response = await self.async_get_forecast() File "/config/custom_components/gismeteo/api.py", line 259, in async_get_forecast await self.async_update_location() File "/config/custom_components/gismeteo/api.py", line 241, in async_update_location response = await self._async_get_data(url, cache_fname) File "/config/custom_components/gismeteo/api.py", line 223, in _async_get_data self._cache.save_cache(cache_fname, data) File "/config/custom_components/gismeteo/cache.py", line 95, in save_cache with open(file_path, "w", encoding="utf-8") as fp:
Detected blocking call to open with args ('/config/.storage/gismeteo.forecast_12745.xml',) inside the event loop by custom integration 'gismeteo' at custom_components/gismeteo/cache.py, line 83: with open(file_path, encoding="utf-8") as fp: (offender: /config/custom_components/gismeteo/cache.py, line 83: with open(file_path, encoding="utf-8") as fp:), please create a bug report at https://github.com/Limych/ha-gismeteo/issues 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 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle resp = await handler(request) File "/usr/local/lib/python3.12/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 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 85, 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 368, in async_configure result = await self._async_configure(flow_id, user_input) File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 415, in _async_configure result = await self._async_handle_step( File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 518, in _async_handle_step result: _FlowResultT = await getattr(flow, method)(user_input) File "/config/custom_components/gismeteo/config_flow.py", line 66, in async_step_user await gismeteo.async_update() File "/config/custom_components/gismeteo/api.py", line 639, in async_update await self.async_update_parsed() File "/config/custom_components/gismeteo/api.py", line 624, in async_update_parsed self._parsed = await self.async_get_parsed() File "/config/custom_components/gismeteo/api.py", line 271, in async_get_parsed forecast = await self.async_get_forecast() File "/config/custom_components/gismeteo/api.py", line 267, in async_get_forecast return await self._async_get_data(url, cache_fname) File "/config/custom_components/gismeteo/api.py", line 210, in _async_get_data return self._cache.read_cache(cache_fname) File "/config/custom_components/gismeteo/cache.py", line 83, in read_cache with open(file_path, encoding="utf-8") as fp:
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4894 Installed Version | 1.34.0 Stage | running Available Repositories | 1386 Downloaded Repositories | 17Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okDashboards
dashboards | 6 -- | -- resources | 4 views | 6 mode | storageRecorder
oldest_recorder_run | 21 июля 2024 г. в 14:18 -- | -- current_recorder_run | 22 июля 2024 г. в 11:38 estimated_db_size | 527.14 MiB database_engine | sqlite database_version | 3.45.3Sonoff
version | 3.7.3 (e240aaf) -- | -- cloud_online | 9 / 11 local_online | 9 / 9 debug | failed to load:Xiaomi Miot Auto
component_version | 0.7.19 -- | -- can_reach_server | ok can_reach_spec | ok logged_accounts | 1 total_devices | 2Checklist
Describe the issue
Reproduction steps
Debug logs
Diagnostics dump
No response