core: August Smart Lock failing with Home Assistant
The problem
August Smart lock is not controllable via HA. It appears from the log that they may have made an API change:
File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 941, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized', url=URL('https://api-production.august.com/users/houses/mine')
This began around 10:30 AM this morning.
Environment
- Home Assistant Core release with the issue: 114.4
- Last working Home Assistant Core release (if known): 114.4
- Operating environment (OS/Container/Supervised/Core): OS
- Integration causing this issue: August Smart Lock
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/august/
Problem-relevant configuration.yaml
NA
Traceback/Error logs
Logger: homeassistant.config_entries
Source: components/august/gateway.py:125
First occurred: 1:59:26 PM (1 occurrences)
Last logged: 1:59:26 PM
Error setting up entry ckhyatt@gmail.com for august
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 222, in async_setup
result = await component.async_setup_entry( # type: ignore
File "/usr/src/homeassistant/homeassistant/components/august/__init__.py", line 173, in async_setup_entry
return await async_setup_august(hass, entry, august_gateway)
File "/usr/src/homeassistant/homeassistant/components/august/__init__.py", line 131, in async_setup_august
await hass.data[DOMAIN][entry_id][DATA_AUGUST].async_setup()
File "/usr/src/homeassistant/homeassistant/components/august/__init__.py", line 240, in async_setup
await self.activity_stream.async_setup()
File "/usr/src/homeassistant/homeassistant/components/august/activity.py", line 33, in async_setup
await self._async_refresh(utcnow)
File "/usr/src/homeassistant/homeassistant/components/august/activity.py", line 59, in _async_refresh
await self._august_gateway.async_refresh_access_token_if_needed()
File "/usr/src/homeassistant/homeassistant/components/august/gateway.py", line 125, in async_refresh_access_token_if_needed
refreshed_authentication = await self.authenticator.async_refresh_access_token(
File "/usr/local/lib/python3.8/site-packages/august/authenticator_async.py", line 119, in async_refresh_access_token
refreshed_token = await self._api.async_refresh_access_token(
File "/usr/local/lib/python3.8/site-packages/august/api_async.py", line 210, in async_refresh_access_token
await self._async_dict_to_api(
File "/usr/local/lib/python3.8/site-packages/august/api_async.py", line 255, in _async_dict_to_api
_raise_response_exceptions(response)
File "/usr/local/lib/python3.8/site-packages/august/api_async.py", line 276, in _raise_response_exceptions
raise err
File "/usr/local/lib/python3.8/site-packages/august/api_async.py", line 262, in _raise_response_exceptions
response.raise_for_status()
File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 941, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 401, message='Unauthorized', url=URL('https://api-production.august.com/users/houses/mine')
Home Assistant has started!
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 24 (6 by maintainers)
Remove the .xxxxxx.august.conf file under /config and try again.