-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration no more loaded after reinstallation: KeyError: 'public_url'
#2479
Comments
following |
Did you just upgrade Alexa Media Player? If so, from what version? Do you have an Internet URL configured in HA Settings > System > Network? Can you view
|
I think the version which was running before was 4.12.6 or .7 Yes Internet URL is configured --> Nabu Casa
|
Had this as well after updating to 2024.8.2 and AMP to 4.12.10 (coming from 4.12.7. I then deleted the integration to have a clean start and ended up in problem #2469 that I wasn't able to set up the integration anymore in total. |
I confirm experiencing the same as @protege323 with amazon.fr |
Samahani, sielewi... |
KeyError: 'public_url'
Please try editing
Then remove integration config entry, restart HA and re-add integration. |
Hello @danielbrunt57
(Just now line 189 instead of 188 of course.) |
Hi @danielbrunt57 Logger: homeassistant.setup Error during setup of component alexa_media |
I worked around the issue by providing a default value for account[CONF_PUBLIC_URL] on line 189. CONF_PUBLIC_URL: account.get(CONF_PUBLIC_URL, 'https://my.domain/'), |
Nice find!!!!!!!! |
That can't be a PR as he has hard coded his own public URL and his public URL won't work on your system!
|
Exato @danielbrunt57 Aqui no meu funcionou, porém só depois de incluir minha URL público... eu uso redirecionamento via noip.com depois de fazer isto e usar a chave gerada em amazon.com tudo voltou a funcionar. |
THIS WORKED, THANKS @anthonyCarigny !!!!!!!!!!! |
24h later.... It crashed again |
Why is the ticket closed if it’s still not working? I tried four days ago
and it’s still not working.
…On Tue, Oct 22, 2024 at 2:00 AM Daniel ***@***.***> wrote:
Closed #2479 <#2479>
as completed.
—
Reply to this email directly, view it on GitHub
<#2479 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BI56PWHD2TQTABG3UUGBJVLZ4YH3PAVCNFSM6AAAAABM3H4MFOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUG44DANZSGEZDCNY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Remove and re add AMP?
Then re add all your AMP announcements too? I am assuming they are removed
when you’re removing AMP.
…On Tue, Oct 22, 2024 at 3:00 AM Daniel ***@***.***> wrote:
No issues observed here after several dozens of remove/re-add
image.png (view on web)
<https://github.com/user-attachments/assets/d9cbd7d1-116e-4dfe-a8f3-660937b70aae>
—
Reply to this email directly, view it on GitHub
<#2479 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BI56PWGJZA3XPYG62U2V7MDZ4YO2PAVCNFSM6AAAAABM3H4MFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRYHAZTSNRYHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm not sure what you're actually referring to when you say announcements. Removing Alexa Media Player in HA only removes the Alexa devices and services (notify, media_player, alexa_media) that it created. It doesn't remove any corresponding actions or entities that you have in your scripts and automations. |
I only use HA to make announcements on my echo devices from my Reolink
cameras if they detect a person or vehicle. I’m not sure if you know, but
if I removed Alexa media player and then reinstall, would I have to re-add
all my automations using AMP to my echo’s?
…On Tue, Oct 22, 2024 at 1:19 PM Daniel [***@***.***](mailto:***@***.***)> wrote:
Remove and re add AMP? Then re add all your AMP announcements too?
I'm not sure what you're actually referring to when you say announcements.
Removing Alexa Media Player in HA only removes the Alexa devices and
services (notify, media_player, alexa_media) that it created. It doesn't
remove any corresponding actions or entities that you have in your scripts
and automations.
—
Reply to this email directly, view it on GitHub
<#2479 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BI56PWGGW4SWW2EGQNRAWMDZ42XMFAVCNFSM6AAAAABM3H4MFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZQGE3TSMZYG4>
.
You are receiving this because you commented.Message ID:
[***@***.***](mailto:***@***.***)>
|
No. Removing AMP does not alter any code that's in automations/scripts. |
IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.
Alexa integration will be not loaded after installation
To Reproduce
Expected behavior
System details
const.py
or HA startup): 4.12.10pip show alexapy
or HA startup): 1.28.2Logs
Logger: homeassistant.setup
Source: setup.py:416
First occurred: 7:28:08 AM (1 occurrences)
Last logged: 7:28:08 AM
Error during setup of component alexa_media
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 416, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/alexa_media/init.py", line 188, in async_setup
CONF_PUBLIC_URL: account[CONF_PUBLIC_URL],
~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'public_url'
Who can help?
Thanks
The text was updated successfully, but these errors were encountered: