Description
The problem
After updating to 2025.6.1 integratiopn fails to load with the error message "'NoneType' object is not subscriptable"
What version of Home Assistant Core has the issue?
2025.6.1
What was the last working version of Home Assistant Core?
2025.6.0
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
Quelle: helpers/update_coordinator.py:382
Integration: Alexa Devices (Dokumentation, Probleme)
Erstmals aufgetreten: 01:04:04 (3 Vorkommnisse)
Zuletzt protokolliert: 01:04:47
Unexpected error fetching [email protected] 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 701, in get_devices_data
devices_sensors = await self._get_sensors_states(entity_ids_list)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 562, in _get_sensors_states
for sensors in json_data["deviceStates"]:
~~~~~~~~~^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Additional information
No response