BETA-TESTER GESUCHT: Selbstlernende / Intelligente Solarprognose (Integration via HACS)

Home Assistant green

Logger: homeassistant.util.loop
Quelle: util/loop.py:137
Erstmals aufgetreten: 07:11:05 (2 Vorkommnisse)
Zuletzt protokolliert: 07:11:05

Detected blocking call to open with args (PosixPath('/config/solar_forecast_ml/stats/hourly_predictions.tmp'), 'w') inside the event loop by custom integration 'solar_forecast_ml' at custom_components/solar_forecast_ml/data/data_hourly_predictions.py, line 485: with open(temp_file, 'w') as f: (offender: /config/custom_components/solar_forecast_ml/data/data_hourly_predictions.py, line 485: with open(temp_file, 'w') as f:), please create a bug report at https://github.com/Zara-Toorox/ha-solar-forecast-ml/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 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.13/asyncio/base_events.py", line 712, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, 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/src/homeassistant/homeassistant/config_entries.py", line 906, in async_setup_locked await self.async_setup(hass, integration=integration) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 672, in async_setup await self.__async_setup_with_context(hass, integration) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context result = await component.async_setup_entry(hass, self) File "/config/custom_components/solar_forecast_ml/__init__.py", line 90, in async_setup_entry coordinator = SolarForecastMLCoordinator( File "/config/custom_components/solar_forecast_ml/coordinator.py", line 136, in __init__ self.data_manager = DataManager(hass, entry.entry_id, data_dir_path) File "/config/custom_components/solar_forecast_ml/data/data_manager.py", line 62, in __init__ self.hourly_predictions = HourlyPredictionsHandler(data_dir, data_manager=self) File "/config/custom_components/solar_forecast_ml/data/data_hourly_predictions.py", line 20, in __init__ self._ensure_file_exists() File "/config/custom_components/solar_forecast_ml/data/data_hourly_predictions.py", line 38, in _ensure_file_exists self._write_json(initial_data) File "/config/custom_components/solar_forecast_ml/data/data_hourly_predictions.py", line 485, in _write_json with open(temp_file, 'w') as f:
Detected blocking call to open with args (PosixPath('/config/solar_forecast_ml/stats/daily_summaries.tmp'), 'w') inside the event loop by custom integration 'solar_forecast_ml' at custom_components/solar_forecast_ml/data/data_daily_summaries.py, line 357: with open(temp_file, 'w') as f: (offender: /config/custom_components/solar_forecast_ml/data/data_daily_summaries.py, line 357: with open(temp_file, 'w') as f:), please create a bug report at https://github.com/Zara-Toorox/ha-solar-forecast-ml/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 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.13/asyncio/base_events.py", line 712, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, 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/src/homeassistant/homeassistant/config_entries.py", line 906, in async_setup_locked await self.async_setup(hass, integration=integration) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 672, in async_setup await self.__async_setup_with_context(hass, integration) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context result = await component.async_setup_entry(hass, self) File "/config/custom_components/solar_forecast_ml/__init__.py", line 90, in async_setup_entry coordinator = SolarForecastMLCoordinator( File "/config/custom_components/solar_forecast_ml/coordinator.py", line 136, in __init__ self.data_manager = DataManager(hass, entry.entry_id, data_dir_path) File "/config/custom_components/solar_forecast_ml/data/data_manager.py", line 63, in __init__ self.daily_summaries = DailySummariesHandler(data_dir, data_manager=self) File "/config/custom_components/solar_forecast_ml/data/data_daily_summaries.py", line 20, in __init__ self._ensure_file_exists() File "/config/custom_components/solar_forecast_ml/data/data_daily_summaries.py", line 31, in _ensure_file_exists self._write_json(initial_data) File "/config/custom_components/solar_forecast_ml/data/data_daily_summaries.py", line 357, in _write_json with open(temp_file, 'w') as f:

:crayon:by HarryP: Code-/Logzeilen formatiert (bitte immer in </> einbinden)
s.a.: (Neues Update & Features - Hier in der Community 🫶)