Error setting up entry, several integrations does not work

there are several errors on integrations setup: Tuya, Emporia, Google Nest

example with Emporia, Tuya and Google integrations with the same error

</>Logger: homeassistant.config_entries
Source: config_entries.py:635
First occurred: 6:25:25 PM (1 occurrences)
Last logged: 6:25:25 PM

Error setting up entry Customer 42647 for emporia_vue
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/emporia_vue/__init__.py", line 203, in async_setup_entry
    await coordinator_1mon.async_config_entry_first_refresh()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 309, in async_config_entry_first_refresh
    await self._async_refresh(
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 279, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/emporia_vue/__init__.py", line 145, in async_update_data_1mon
    return await update_sensors(vue, [Scale.MONTH.value])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/emporia_vue/__init__.py", line 369, in update_sensors
    usage_dict = await loop.run_in_executor(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError: Global task timeout </>

Dealing with the same thing for Tuya. Glad I’m not the only one.

2024-11-18 20:25:32.967 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry gg-[redacted] for tuya
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/tuya/__init__.py", line 68, in async_setup_entry
    await hass.async_add_executor_job(manager.update_device_cache)
asyncio.exceptions.CancelledError
1 Like

Same here, several integrations are failing to set up, and it worked normally previously. Tuya, Sonoff, Accuweather, SmartThings… it is random if it will set up or not.

I’m seeing the same error as this when attempting to setup the emporia_vue ; are you still blocked, or have you found a solution or work around yet?