-
Notifications
You must be signed in to change notification settings - Fork 303
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
Taking over 60 seconds to "Setup" After restart #357
Comments
Thanks that's a bug. It shouldn't be retrying the alarm control panel in this situation since that's not an error. I'll add it to the queue to fix. |
Referenced PR should fix this. You can just replace the file. |
I replaced the content of helpers.py and am still seeing an issue with setup time
The issue appears to be related to the alarm_control_panel component of Alexa Media
|
Make sure you deleted the cache and you're truly loading the new file. If you still see it I'd need logs. |
5243d547122e85fa1b5b99b597d1bd05 helpers.py I have removed the pycache directory in custom_components/alexa_media. Let me know what you need from logs and I'll get them here. Thank you for your hard work! |
As a second data point, I made this update and it did fix the startup issue.
If it matters, I have alexa_media_player being managed by HACS |
|
fwiw I did not need to touch my For anyone arriving here now looking for a fix, this should set you straight:
|
Thanks @aneisch, clipboard error! |
Can confirm the updated file fixes the issue. Thank you. |
For anyone else who stumbles here... I still had the "issue" but it turns out my configuration was wrong. I had both:
AND
in my config. If you have |
Describe the bug
After a restart of Home Assistant, I will get a notification that the component took too long to initialize. Component/Plugin still works as it should.
Notification is as follows:
Setup of platform alexa_media is taking longer than 60 seconds. Startup will proceed without waiting any longer.
To Reproduce
Restart Home Assistant via Server Control
Expected behavior
Either to not run "Setup" on every restart of homebridge, or for the setup to not take over 60 seconds.
System details
Logs
Additional context
Plugin works fine after restart of services, however it just takes forever for home assistant to restart.
Originally set up this plugin via alexpy pip installation/manual install. Removed all of that and installed via HACS.
Have restarted HASS Multiple times. As stated, it works once home-assistant is up, it just delays start.
The text was updated successfully, but these errors were encountered: