Description
The problem
After installing, Login to Amazon was successful. Directly after I received a message: No devices or entities Failed setup, will retry: ‘devicePreferences’
I have not been able to get this to find any devices. I have removed it and re added it. Restarted HA. Running HA Green. with latest updates on all components.
From the logs I have this information:
`
Logger: homeassistant.components.alexa_devices
Source: helpers/update_coordinator.py:382
integration: Alexa Devices (documentation, issues)
First occurred: 06:27:49 (56 occurrences)
Last logged: 07:33:32
Unexpected error fetching [Amazon Account Name] data
Traceback (most recent call last):
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/components/alexa_devices/coordinator.py", line 54, in _async_update_data
return await self.api.get_devices_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 574, in get_devices_data
for data in json_data[key]:
~~~~~~~~~^^^^^
KeyError: 'devicePreferences'
`
What version of Home Assistant Core has the issue?
2025.6.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Alexa Devices
Link to integration documentation on our website
https://www.home-assistant.io/integrations/alexa_devices
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Logger: homeassistant.components.alexa_devices
Source: helpers/update_coordinator.py:382
integration: Alexa Devices (documentation, issues)
First occurred: 06:27:49 (56 occurrences)
Last logged: 07:33:32
Unexpected error fetching [Amazon Account Name] data
Traceback (most recent call last):
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/components/alexa_devices/coordinator.py", line 54, in _async_update_data
return await self.api.get_devices_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 574, in get_devices_data
for data in json_data[key]:
~~~~~~~~~^^^^^
KeyError: 'devicePreferences'
Additional information
No response