core icon indicating copy to clipboard operation
core copied to clipboard

Alexa Devices stopped working

Open oneseventhree opened this issue 7 months ago β€’ 13 comments

The problem

This has been working perfectly since core-2025.6 but for some reason today I am getting two log errors.

I did update today to 2025.6.1 but I am not sure if it's that:

Image

What version of Home Assistant Core has the issue?

core-2025.6.1

What was the last working version of Home Assistant Core?

core-2025.6.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

https://www.home-assistant.io/integrations/alexa_devices

Link to integration documentation on our website

Alexa Devices

Diagnostics information

No option to download: Image

Example YAML snippet


Anything in the logs that might be useful for us?

Log Issue #1:

Logger: py.warnings
Source: components/alexa_devices/coordinator.py:54
First occurred: 4:41:49 PM (22 occurrences)
Last logged: 4:58:31 PM

/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py:355: RuntimeWarning: coroutine 'AmazonEchoApi._ignore_ap_sigin_error' was never awaited if not self._ignore_ap_sigin_error(resp):

Log Issue #2:


Logger: homeassistant.components.alexa_devices
Source: helpers/update_coordinator.py:382
integration: Alexa Devices (documentation, issues)
First occurred: 4:45:14 PM (16 occurrences)
Last logged: 4:58:31 PM

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 700, in get_devices_data
    entity_ids_list = await self._get_devices_ids()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 513, in _get_devices_ids
    network_detail = orjson.loads(json_data["networkDetail"])
                                  ~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'networkDetail'

Additional information

No response

oneseventhree avatar Jun 15 '25 07:06 oneseventhree

Hey there @chemelli74, mind taking a look at this issue as it has been labeled with an integration (alexa_devices) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of alexa_devices can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign alexa_devices Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


alexa_devices documentation alexa_devices source (message by IssueLinks)

home-assistant[bot] avatar Jun 15 '25 07:06 home-assistant[bot]

πŸ” Potential duplicate detection

I've analyzed similar issues and found the following potential duplicates:

What to do next:

  1. Please review these issues to see if they match your issue
  2. If you find an existing issue that covers your problem:
    • Consider closing this issue
    • Add your findings or πŸ‘ on the existing issue instead
  3. If your issue is different or adds new aspects, please clarify how it differs

This helps keep our issues organized and ensures similar issues are consolidated for better visibility.

This message was generated automatically by our duplicate detection system.

github-actions[bot] avatar Jun 15 '25 07:06 github-actions[bot]

Same issue has shown up for me.

Logger: homeassistant.components.alexa_devices
Source: helpers/update_coordinator.py:382
integration: Alexa Devices (documentation, issues)
First occurred: 07:39:20 (77 occurrences)
Last logged: 08:19:54

Unexpected error fetching a***@j******i.co.uk 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 700, in get_devices_data
    entity_ids_list = await self._get_devices_ids()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 513, in _get_devices_ids
    network_detail = orjson.loads(json_data["networkDetail"])
                                  ~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'networkDetail'

JediAndi avatar Jun 15 '25 07:06 JediAndi

Reverting back to 2025.6.0 fixed the issue for now

oneseventhree avatar Jun 15 '25 07:06 oneseventhree

If this helps, I installed the Alexa integration on 2025.6.0 and all devices showed up OK, but speak/announcements didn't work.

Updated to 2025.6.1 and speak/announcements appeared to now work however, after updating a few other unrelated integrations that asked for a restart I found this Alexa integration now had the "networkDetail" issue.

ethzero avatar Jun 15 '25 09:06 ethzero

Same here

Protokolldetails (FEHLER)
Logger: homeassistant.components.alexa_devices
Quelle: helpers/update_coordinator.py:382
Integration: Alexa Devices (Dokumentation, Probleme)
Erstmals aufgetreten: 11:27:46 (6 Vorkommnisse)
Zuletzt protokolliert: 11:28:35

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 700, in get_devices_data
    entity_ids_list = await self._get_devices_ids()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 513, in _get_devices_ids
    network_detail = orjson.loads(json_data["networkDetail"])
                                  ~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'networkDetail'

tomg1970 avatar Jun 15 '25 09:06 tomg1970

Same here;

2025-06-15 12:06:09.608 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 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 700, in get_devices_data entity_ids_list = await self._get_devices_ids() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 513, in _get_devices_ids network_detail = orjson.loads(json_data["networkDetail"]) ~~~~~~~~~^^^^^^^^^^^^^^^^^ KeyError: 'networkDetail'

woempiej avatar Jun 15 '25 10:06 woempiej

I updated to core-2025.6.1, then enabled 2FA on my Amazon account, then tried to setup this addon, but I'm also getting the same error "networkDetail".

Logger: py.warnings
Quelle: components/alexa_devices/coordinator.py:54
Erstmals aufgetreten: 12:24:37 (3 Vorkommnisse)
Zuletzt protokolliert: 12:25:09

/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py:355: RuntimeWarning: coroutine 'AmazonEchoApi._ignore_ap_sigin_error' was never awaited if not self._ignore_ap_sigin_error(resp):
Logger: homeassistant.components.alexa_devices
Quelle: helpers/update_coordinator.py:382
Integration: Alexa Devices (Dokumentation, Probleme)
Erstmals aufgetreten: 12:24:37 (4 Vorkommnisse)
Zuletzt protokolliert: 12:25:31

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 700, in get_devices_data
    entity_ids_list = await self._get_devices_ids()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 513, in _get_devices_ids
    network_detail = orjson.loads(json_data["networkDetail"])
                                  ~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'networkDetail`
'``

tricoos avatar Jun 15 '25 10:06 tricoos

Hi @oneseventhree , thx for reporting.

Fix on the way.

chemelli74 avatar Jun 15 '25 11:06 chemelli74

Hello. The same thing happened to me as the other members of this forum describe, but I deleted my account and tried to log back in. The first time I didn't have any credential issues, but the error persisted. I deleted my account again, and when I tried to create my account again, I only got a credential error.

pilma73 avatar Jun 15 '25 11:06 pilma73

Hi @oneseventhree , thx for reporting.

Fix on the way.

Thank you for a great integration! Looking forward to its evolution so hopefully we can get rid of Alexa media player 😁

oneseventhree avatar Jun 15 '25 11:06 oneseventhree

Same here.

@oneseventhree only reason I can't get rit of the "old" integration is this one doesn't support the temp sensor of the speaker yet.

mhoogenbosch avatar Jun 15 '25 14:06 mhoogenbosch

@chemelli74 Downgrading HA OS to 2025.6 is making Alexa devices announce notification without any issue. I'm using below -

action: notify.send_message metadata: {} data: message: Washer is done. target: device_id: ef8a9xxxxxxxxxxxxxxxxx

Fyi - I'm using Amazon.in and notifications get announced on both echo dot 3rd gen and echo show 5 2nd gen.

Thanks a lot for bringing Alexa integration. Wish to have it working with 2025.6.1 and future without any issue.

techdevoteeIndia avatar Jun 15 '25 17:06 techdevoteeIndia

i cannot subscribe to this so adding a note here, i also rolled back and it works now, not on latest 2025.6.1

DEEJCUK avatar Jun 17 '25 18:06 DEEJCUK

Some reason all my automations that have been running since 2025.06 have stopped working. Nothing in logs but restarting has fixed it - not sure what caused it as all entities were updating but no audio was coming out when using SPEAK

oneseventhree avatar Jun 18 '25 07:06 oneseventhree

same issue:

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 700, in get_devices_data entity_ids_list = await self._get_devices_ids() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 513, in _get_devices_ids network_detail = orjson.loads(json_data["networkDetail"]) ~~~~~~~~~^^^^^^^^^^^^^^^^^ KeyError: 'networkDetail'

mauropisoni avatar Jun 18 '25 14:06 mauropisoni

A bug fix has been merged to the dev branch. It will hopefully make it into the next patch.

markwiese avatar Jun 18 '25 14:06 markwiese

Hat bei mir genau 2 Tage gut funktioniert, dann mit 2025.6.1 der Fehler: Einrichtungsfehler, wird erneut versucht: 'networkDetail'

jkilian1963 avatar Jun 19 '25 06:06 jkilian1963

The same here, it says that is closed, but, i have the same problem with all updated, i try to delete it and configure from 0. But now i can't acces (Unknown error ocurred)

cryptontgn avatar Jul 13 '25 10:07 cryptontgn

The same here, it says that is closed, but, i have the same problem with all updated, i try to delete it and configure from 0. But now i can't acces (Unknown error ocurred)

It’s closed because it’s fixed in the new update that ISNT out yet 😁 It was meant to come out 11th July but it’s been delayed. Maybe 14th

oneseventhree avatar Jul 13 '25 10:07 oneseventhree

I'm still getting this issue on the latest version 2025.7.3

Logger: aioamazondevices Source: components/alexa_devices/coordinator.py:54 First occurred: 19:55:10 (1 occurrence) Last logged: 19:55:10

Sensors data not available [/api/phoenix error 'Miscellaneous Persistent Warning'], skipping

markhankins avatar Jul 26 '25 01:07 markhankins