Once Alexa Media Player is installed and all devices are correctly configured. Using 2FA, it is amazon.it.
Alexa stays connected until TuneIn is used by calling it with Alexa, 'Alexa, play Radio Radio.' After that, it disconnects, and the procedure needs to be done from scratch. This happens every time.
Screenshots
Logger: homeassistant.config_entries
Source: config_entries.py:604
First occurred: 8:38:25 PM (1 occurrences)
Last logged: 8:38:25 PM
Error setting up entry XXXXXXX@icloud.com - amazon.it for alexa_media
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alexa_media/init.py", line 361, in async_setup_entry
await login.login(cookies=await login.load_cookie())
File "/usr/local/lib/python3.12/site-packages/alexapy/helpers.py", line 137, in wrapper
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/alexapy/alexalogin.py", line 713, in login
self._site = await self._process_page(await post_resp.text(), site)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/alexapy/alexalogin.py", line 1506, in _process_page
error_message += list_item.find("span").string
TypeError: can only concatenate str (not "NoneType") to str
System details
Home Core
2024.9.2
Supervisor
2024.09.1
Operating System
13.1
Frontend
20240909.1
Alexa Media Player
v4.13.1
Describe the bugs
Once Alexa Media Player is installed and all devices are correctly configured. Using 2FA, it is amazon.it. Alexa stays connected until TuneIn is used by calling it with Alexa, 'Alexa, play Radio Radio.' After that, it disconnects, and the procedure needs to be done from scratch. This happens every time.
Screenshots
Logger: homeassistant.config_entries Source: config_entries.py:604 First occurred: 8:38:25 PM (1 occurrences) Last logged: 8:38:25 PM
Error setting up entry XXXXXXX@icloud.com - amazon.it for alexa_media Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/alexa_media/init.py", line 361, in async_setup_entry await login.login(cookies=await login.load_cookie()) File "/usr/local/lib/python3.12/site-packages/alexapy/helpers.py", line 137, in wrapper return await func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/alexapy/alexalogin.py", line 713, in login self._site = await self._process_page(await post_resp.text(), site) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/alexapy/alexalogin.py", line 1506, in _process_page error_message += list_item.find("span").string TypeError: can only concatenate str (not "NoneType") to str
System details
Home Core 2024.9.2 Supervisor 2024.09.1 Operating System 13.1 Frontend 20240909.1 Alexa Media Player v4.13.1