Alexa Integration: NoneType Error after email change

I had to change my login email from Amazon to a new one.

Since then Integration stopped working. So I delete the integration and added it again with the new email but I still doesn’t work.

I get a ‘NoneType’ object is not subscriptable error:

2025-10-08 08:06:54.192 ERROR (MainThread) [homeassistant.components.alexa_devices] Unexpected error fetching [email protected] data
Traceback (most recent call last):
  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 58, in _async_update_data
    data = await self.api.get_devices_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 857, in get_devices_data
    devices_endpoints, devices_sensors = await self._get_sensors_states()
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 605, in _get_sensors_states
    endpoints = devices_state["data"]["listEndpoints"]
                ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
1 Like

You are not alone. Issue has been fixed (just waiting to be released).

4 Likes