Skip to content

Alexa cannot be initialized #150336

@domoticacasasanchezcortez-star

Description

The problem

I tried to make an automation in which it would send a sound to my echo, but didnt work, it says im not logged in to my amazon account

If i go to settings-integration-alexa devices, it says "can´t be initialized"

If i tried to remove the integration and add again, when i need to loggin it didnt work

PD. A few weeks ago it was working (pasword and account is ok)

PD2. My alexa app in android phone, i noticed it sudendly change some settings like showedme temperature in farenheit instead celsius (i dont know if this is related, amazon change servers o somthing like that)

PD3. Im spanish speaker, sorry about my english, i tried the best.

What version of Home Assistant Core has the issue?

core-2025.8.0

What was the last working version of Home Assistant Core?

core-2025.8.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Alexa_devices

Link to integration documentation on our website

No response

Diagnostics information

Registrador: homeassistant.config_entries
Fuente: config_entries.py:749
Ocurrió por primera vez: 01:05:31 (1 ocurrencia)
Última vez registrado: 01:05:31

Error setting up entry pepejism@gmail.com for alexa_devices
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/alexa_devices/init.py", line 34, in async_setup_entry
await coordinator.async_config_entry_first_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 319, in async_config_entry_first_refresh
await self._async_refresh(
log_failures=False, raise_on_auth_failed=True, raise_on_entry_error=True
)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/alexa_devices/coordinator.py", line 57, in _async_update_data
return await self.api.get_devices_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 837, in get_devices_data
entity_ids_list := await self._get_devices_ids()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 603, in _get_devices_ids
_, raw_resp = await self._session_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 381, in _session_request
await asyncio.sleep(delay)
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 718, in sleep
return await future
^^^^^^^^^^^^
asyncio.exceptions.CancelledError

Example YAML snippet

Anything in the logs that might be useful for us?

Registrador: homeassistant.config_entries
Fuente: config_entries.py:749
Ocurrió por primera vez: 01:05:31 (1 ocurrencia)
Última vez registrado: 01:05:31

Error setting up entry pepejism@gmail.com for alexa_devices
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/alexa_devices/__init__.py", line 34, in async_setup_entry
    await coordinator.async_config_entry_first_refresh()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 319, in async_config_entry_first_refresh
    await self._async_refresh(
        log_failures=False, raise_on_auth_failed=True, raise_on_entry_error=True
    )
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/alexa_devices/coordinator.py", line 57, in _async_update_data
    return await self.api.get_devices_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 837, in get_devices_data
    entity_ids_list := await self._get_devices_ids()
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 603, in _get_devices_ids
    _, raw_resp = await self._session_request(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 381, in _session_request
    await asyncio.sleep(delay)
  File "/usr/local/lib/python3.13/asyncio/tasks.py", line 718, in sleep
    return await future
           ^^^^^^^^^^^^
asyncio.exceptions.CancelledError

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions