-
Notifications
You must be signed in to change notification settings - Fork 31
Description
2024-05-06 11:23:59.553 WARNING (SyncWorker_26) [homeassistant.helpers.frame] Detected that custom integration 'hass_agent' calls async_update_device from a thread at custom_components/hass_agent/init.py, line 29: device_registry.async_get_or_create(, please report it to the author of the 'hass_agent' custom integration
2024-05-06 11:23:59.555 ERROR (SyncWorker_26) [homeassistant.util.logging] Exception in updated when handling msg on 'hass.agent/devices/pc-name': '{"serial_number":"xxxxxxxx","device":{"identifiers":"hass.agent-pc-name","manufacturer":"LAB02 Research","model":"Microsoft Windows NT 10.0.22631.0","name":"pc-name","sw_version":"2022.14.0"},"apis":{"notifications":true,"media_player":true}}'
Traceback (most recent call last):
File "/config/custom_components/hass_agent/init.py", line 144, in updated
update_device_info(hass, entry, payload)
File "/config/custom_components/hass_agent/init.py", line 29, in update_device_info
device_registry.async_get_or_create(
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 758, in async_get_or_create
device = self.async_update_device(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 907, in async_update_device
self.hass.verify_event_loop_thread("async_update_device")
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 'hass_agent' calls async_update_device from a thread at custom_components/hass_agent/init.py, line 29: device_registry.async_get_or_create(. Please report it to the author of the 'hass_agent' custom integration.

