Hi
My SmartThings integration was working fine up until a few days ago. I think the issue may have happened since upgrading the core from 2024.8.0 to 2024.8.2 (?).
See below the log - any help fixing much appreciated!
Thanks
Logger: homeassistant.config_entries
Source: config_entries.py:604
First occurred: 16 August 2024 at 19:10:35 (3 occurrences)
Last logged: 10:10:38
Error setting up entry My home for smartthings
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/smartthings/__init__.py", line 135, in async_setup_entry
token = await api.generate_tokens(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pysmartthings/smartthings.py", line 209, in generate_tokens
result = await self._service.generate_tokens(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pysmartthings/api.py", line 424, in generate_tokens
raise APIInvalidGrant(data.get("error_description"))
pysmartthings.errors.APIInvalidGrant: Invalid refresh token: [XXXXX] requested by clientId: [XXXXX] with grantType: refresh_token, e.cause: no cause