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

> Dieser Fehler stammt von einer benutzerdefinierten Integration
>
> Logger: custom_components.solar_forecast_ml.data.data_schema_validator
> Quelle: custom_components/solar_forecast_ml/data/data_schema_validator.py:57
> Integration: Solar Forecast ML (Dokumentation, Probleme)
> Erstmals aufgetreten: 01:27:33 (4 Vorkommnisse)
> Zuletzt protokolliert: 01:36:15
>
> Schema validation failed: ‘<=’ not supported between instances of ‘float’ and ‘NoneType’
> Traceback (most recent call last):
> File “/config/custom_components/solar_forecast_ml/data/data_schema_validator.py”, line 57, in validate_and_migrate_all
> success &= await self.\_validate_model_state()
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File “/config/custom_components/solar_forecast_ml/data/data_schema_validator.py”, line 370, in \_validate_model_state
> if “current_accuracy” not in data or not (0.0 <= data\[“current_accuracy”\] <= 1.0):
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> TypeError: ‘<=’ not supported between instances of ‘float’ and ‘NoneType’

> Logger: homeassistant.util.loop
> Quelle: util/loop.py:137
> Erstmals aufgetreten: 01:27:16 (2 Vorkommnisse)
> Zuletzt protokolliert: 01:27:16
>
> 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 “”, line 198, in \_run_module_as_main File “”, line 88, in \_run_code File “/usr/src/homeassistant/homeassistant/**main**.py”, line 229, in  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 271, 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 “”, line 198, in \_run_module_as_main File “”, line 88, in \_run_code File “/usr/src/homeassistant/homeassistant/**main**.py”, line 229, in  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 271, 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:

> Dieser Fehler stammt von einer benutzerdefinierten Integration
>
> Logger: custom_components.solar_forecast_ml.data.data_manager
> Quelle: custom_components/solar_forecast_ml/data/data_manager.py:117
> Integration: Solar Forecast ML (Dokumentation, Probleme)
> Erstmals aufgetreten: 01:27:33 (4 Vorkommnisse)
> Zuletzt protokolliert: 01:36:15
>
> JSON schema validation completed with warnings - continuing initialization

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

1 „Gefällt mir“