Skip to content

Issue after upgrade to 0.9.76 - CancelledError #513

@NirBY

Description

@NirBY

getting error on integration CancelledError

Log:

2025-10-11 19:38:26.794 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry NVR for switch Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/switch/init.py", line 79, in async_setup_entry return await hass.data[DATA_COMPONENT].async_setup_entry(entry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 221, in async_setup_entry return await self._platforms[key].async_setup_entry(config_entry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 418, in async_setup_entry return await self._async_setup_platform(async_create_setup_awaitable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 451, in _async_setup_platform await asyncio.shield(awaitable) asyncio.exceptions.CancelledError 2025-10-11 19:38:26.818 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry NVR for dahua Traceback (most recent call last): 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/dahua/init.py", line 82, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, [platform]) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2602, in async_forward_entry_setups await self._async_forward_entry_setups_locked(entry, platforms) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2613, in _async_forward_entry_setups_locked await asyncio.gather( ...<11 lines>... ) asyncio.exceptions.CancelledError

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