Skip to content

Error after updating HA 2024.05 #326

Closed
@stefanoferrario

Description

@stefanoferrario

After updating to the last Home Assistant version 2024.05 I'm getting this issue described in log. Entity controller status is "pending" for all entities.


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/entity_controller/__init__.py", line 571, in startup_delay_callback
    self.config_times(config)
  File "/config/custom_components/entity_controller/__init__.py", line 1134, in config_times
    self.update(start=self.start_time)
  File "/config/custom_components/entity_controller/__init__.py", line 589, in update
    self.entity.do_update()
  File "/config/custom_components/entity_controller/__init__.py", line 482, in do_update
    self.async_schedule_update_ha_state(True)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1252, in async_schedule_update_ha_state
    self.hass.async_create_task(
  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 'entity_controller' calls async_create_task from a thread at custom_components/entity_controller/__init__.py, line 482: self.async_schedule_update_ha_state(True). Please report it to the author of the 'entity_controller' custom integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions