Closed abjorck closed 1 week ago
I'll ask about it
Do you have the exact exception to post?
Well, they're obivously explicitly disabled in
yalexs/const.py
supports_doorbells=False,
and setting that to True
I end up with:
[yalexs.api_async] Received API response from url: https://api.aaecosystem.com/users/doorbells/mine, code: 403, headers: ...., content: b'{"code":"NotAuthorized","message":"endpoint not allowed for API key"}'
Well, they're obivously explicitly disabled in
yalexs/const.py
supports_doorbells=False,
and setting that to
True
I end up with:[yalexs.api_async] Received API response from url: https://api.aaecosystem.com/users/doorbells/mine, code: 403, headers: ...., content: b'{"code":"NotAuthorized","message":"endpoint not allowed for API key"}'
There have been a lot of changes. I completely forgot about that.
nice @bdraco, Got a step further, got a list of cameras, but we apparently also want to call details about each of them via:
2024-09-04 13:58:06.813 DEBUG (MainThread) [yalexs.api_async] About to call https://api.aaecosystem.com/doorbells/{ID} with header={'x-api-key': '', 'x-branding': 'yale', 'x-access-token': '', 'Accept-Version': '0.0.1', 'Content-Type': 'application/json; charset=UTF-8', 'x-august-country': 'US'} and payload=None
2024-09-04 13:58:06.871 DEBUG (MainThread) [yalexs.api_async] Received API response from url: https://api.aaecosystem.com/doorbells/{ID}, code: 403, headers: ..., content: b'{"code":"NotAuthorized","message":"endpoint not allowed for API key"}' 2024-09-04 13:58:06.872 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Home Assistant Cloud' for yale integration could not authenticate: Authentication failed: Verify brand is correct: Forbidden
I've reported the issue to Yale.
Seems to have been fixed now!
Thanks for confirming
It looks like they are currently not allowing access to the doorbell apis for the new key/integration.
Do we know if there is a planned way forward for those to be added back in?