-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary of the bug
I see errors in the homeassistant log
Steps to reproduce
Periodically i see the following erros in the homeassistant log
Error doing job: Future exception was never retrieved (task: None): 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 2042, 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/helpers/event.py", line 1667, in _interval_listener self.hass.async_run_hass_job(self._run_job, dt_util.utcnow(), background=True) 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 733, in _async_add_hass_job task = self.loop.run_in_executor(None, hassjob.target, *args) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 900, in run_in_executor return futures.wrap_future( File "/usr/local/lib/python3.13/asyncio/futures.py", line 411, in wrap_future new_future = loop.create_future() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 459, in create_future return futures.Future(loop=self)
Traceback (most recent call last):
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/sat/climate.py", line 922, in schedule_control_heating_loop
self._control_heating_loop_unsub = async_call_later(self.hass, 10, HassJob(self.async_control_heating_loop))
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 1617, in async_call_later
return loop.call_at(loop.time() + delay, _run_async_call_action, hass, job).cancel
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 814, in call_at
self._check_thread()
~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 872, in _check_thread
raise RuntimeError(
"Non-thread-safe operation invoked on an event loop other "
"than the current one")
RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one
Expected behavior
no errors in the log
Actual behavior
errors in the log
Home Assistant version
2026.1.1
Integration version
4.2.1
Relevant logs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working