After I updated to 2024.5.0, I restartet HA and get following error message in the HA Logger:
`Logger: homeassistant
Quelle: helpers/frame.py:203
Erstmals aufgetreten: 11:09:53 (15 Vorkommnisse)
Zuletzt protokolliert: 11:10:00
Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dynamic_energy_cost/energy_based_sensors.py", line 147, in _async_update_energy_price
self.hass.async_create_task(self.async_update())
File "/usr/src/homeassistant/homeassistant/core.py", line 816, in async_create_task
self.verify_event_loop_thread("async_create_task")
File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread
frame.report(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report
_report_integration(what, integration_frame, level, error_if_integration)
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration
raise RuntimeError(
RuntimeError: Detected that custom integration 'dynamic_energy_cost' calls async_create_task from a thread at custom_components/dynamic_energy_cost/energy_based_sensors.py, line 147: self.hass.async_create_task(self.async_update()). Please report it to the author of the 'dynamic_energy_cost' custom integration.`
After I updated to 2024.5.0, I restartet HA and get following error message in the HA Logger:
`Logger: homeassistant Quelle: helpers/frame.py:203 Erstmals aufgetreten: 11:09:53 (15 Vorkommnisse) Zuletzt protokolliert: 11:10:00 Error doing job: Future exception was never retrieved
Traceback (most recent call last): File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/dynamic_energy_cost/energy_based_sensors.py", line 147, in _async_update_energy_price self.hass.async_create_task(self.async_update()) File "/usr/src/homeassistant/homeassistant/core.py", line 816, in async_create_task self.verify_event_loop_thread("async_create_task") File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread frame.report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report _report_integration(what, integration_frame, level, error_if_integration) File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration raise RuntimeError( RuntimeError: Detected that custom integration 'dynamic_energy_cost' calls async_create_task from a thread at custom_components/dynamic_energy_cost/energy_based_sensors.py, line 147: self.hass.async_create_task(self.async_update()). Please report it to the author of the 'dynamic_energy_cost' custom integration.`