Skip to content
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

KeyError: 'LambdaBridge_AAA/OnGuardSmartHomeBridgeService' #226

Closed
alandtse opened this issue Jun 23, 2019 · 7 comments · Fixed by #237
Closed

KeyError: 'LambdaBridge_AAA/OnGuardSmartHomeBridgeService' #226

alandtse opened this issue Jun 23, 2019 · 7 comments · Fixed by #237
Assignees
Labels
bug Something isn't working

Comments

@alandtse
Copy link
Owner

Describe the bug

2019-06-23 09:59:32 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up platform alexa_media
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/alexa_media/alarm_control_panel.py", line 34, in setup_platform
    hass)  \
  File "/config/custom_components/alexa_media/alarm_control_panel.py", line 73, in __init__
    ['LambdaBridge_AAA/OnGuardSmartHomeBridgeService']
KeyError: 'LambdaBridge_AAA/OnGuardSmartHomeBridgeService'

To Reproduce
Steps to reproduce the behavior:

  1. Start HA in the UK or other location without Alexa Guard.

Expected behavior
No errors

Screenshots
If applicable, add screenshots to help explain your problem.

System details

  • Home-assistant (version):
  • Hassio (Yes/No): No
  • alexa_media (version from const.py or HA startup): 1.3.0
  • alexapy (version from pip show alexapy or HA startup): 0.7.0

Additional context
Thread post

@alandtse alandtse self-assigned this Jun 23, 2019
@alandtse alandtse added the bug Something isn't working label Jun 23, 2019
alandtse added a commit that referenced this issue Jun 23, 2019
Add key checks for Alexa Guard to avoid errors in unsupported regions
@glassbase
Copy link

I also get this error but my region in Canada and Guard is available here. I don't have it enabled which is maybe why I also receive this error?

@Skateboss
Copy link

I've had the same problem in the UK too

@vMeph
Copy link

vMeph commented Jun 24, 2019

same problem....

@alandtse
Copy link
Owner Author

Thanks we have a potential fix in the queue. Of course let me know if you're reporting the error with the proposed fix.

@mauog
Copy link

mauog commented Jun 25, 2019

Same problem too in Italy

@Pirol62
Copy link

Pirol62 commented Jun 27, 2019

Same issue with already updated 0.95 in Germany

@PrathikGopal
Copy link

Same errors in India too, updated to latest 0.95

alandtse added a commit that referenced this issue Jun 30, 2019
alandtse added a commit that referenced this issue Jun 30, 2019
Update documentation and add documentation for hacs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants