alexa_media_player: Cannot log in with amazon.es, amazon.fr and amazon.it
Hi everyone,
Describe the bug
I lost both tts and announce features since Hassio & Alexa Media update. Alson realized I cannot log in with a amazon.fr domain, only amazon.com
To Reproduce Steps to reproduce the behavior: Update to the latest HA and HACS Amazon Media component
Expected behavior No more TTS and Announce
Screenshots
System details
- Home-assistant (version): 0.110.7
- Hassio : yes
- alexa_media v2.8.4
Logs
2020-06-10 14:47:23 ERROR (MainThread) [alexapy.helpers] alexalogin.login((<alexapy.alexalogin.AlexaLogin object at 0x7f70cc361150>,),}): An error occured accessing AlexaAPI: An exception of type AssertionError occurred. Arguments:
. After trying TTS :
2020-06-10 14:51:26 DEBUG (MainThread) [custom_components.alexa_media.notify] Announce targets: [‘G************XTK’] entities: [<Entity Echo Dot - Study: unavailable>]
2020-06-10 14:51:26 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Echo Dot - Study: unavailable> against (<Entity Echo Dot - Study: unavailable>, Echo Dot - Study, G************XTK, media_player.echo_dot_study)
2020-06-10 14:51:26 DEBUG (MainThread) [custom_components.alexa_media.notify] Converting: <Entity Echo Dot - Study: unavailable> to (serialnumbers): G090U50990350XTK
2020-06-10 14:51:26 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Echo Dot - Study: unavailable> against (<Entity Echo Dot - Kitchen: unavailable>, Echo Dot - Kitchen, G************6RR, media_player.echo_dot_kitchen)
2020-06-10 14:51:26 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Echo Dot - Study: unavailable> against (<Entity Everywhere: unavailable>, Everywhere, d****************************483, media_player.everywhere)
2020-06-10 14:51:26 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Echo Dot - Study: unavailable> against (<Entity Echo Dot - bedroom: unavailable>, Echo Dot - bedroom, G************W6R, media_player.echo_dot_bedroom)
2020-06-10 14:51:26 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Echo Dot - Study: unavailable> against (<Entity Zoo: unavailable>, Zoo, 1****************************fc8, media_player.zoo)
2020-06-10 14:51:26 DEBUG (MainThread) [custom_components.alexa_media.notify] Testing item: <Entity Echo Dot - Study: unavailable> against (<Entity This Device: standby>, This Device, 5****************************126, media_player.this_device)
2020-06-10 14:51:26 DEBUG (MainThread) [custom_components.alexa_media.notify] Announce targets: [‘G************XTK’] entities: [<Entity Echo Dot - Study: unavailable>]
Additional context Everything worked fine for a long time before the update.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 79 (16 by maintainers)
Commits related to this issue
- Merge pull request #785 from alandtse/#774 fix: bump alexapy to 1.10.3 — committed to alandtse/alexa_media_player by alandtse 4 years ago
All, I found the bug’s cause and will see if I can resolve it although it honestly may not be a quick fix given it’s in a lower level library.
I’ll also clean up the thread. If you have a “me too” post, please refrain from adding it so it doesn’t explode the thread.
I don’t think there will be any workaround but if someone finds one, please feel free to post. Please note the reboot/reinstall/re-login won’t solve the problem unless Amazon changes things back.
EDIT: Please just use a 👍 on a post that matches.
+1 with amazon.it domain. I am having this in the notification bar:
Then i have this:
But when i click on it i get this error:
Is it the same issue all is having?
I have the same problem with amazon.es
Need testers to try a potential fix. You will need to modify your alexapy using this PR. Please only do this if you understand how to do it as I probably won’t have time to help you with the basics and with reverting it afterward.
Again, use the emoticon for thumbs up 👍 if you have a me too post. I am trying to keep this organized.
I also tried to reinstall, clear the cache, etc etc … but it still doesn’t work with the IT domain
Work for me. Best regards
Works for me. Thank you. Domain: amazon.es
Thanks to you, I did as you said it would work for me.
Another try with the PR. Maybe something missing related with aiohttp: