Bonjour,
Suite à la mise à jour de 2026.4.1 (pas sûre de la cause ), la configuration de l’intégration est en échec. Quelqu’un a des conseils ? merci en avance.
Salut
Il a plusieurs possibilités :
- Demander à Claude
- Regarder les logs
- Regarder dans la boule de cristal
- Demander à la balle magique de @WarC0zes
Choisis la méthode que tu préfères ![]()
1 « J'aime »
Hello,
D’instinct, je commencerai par regarder ce que disent les logs ![]()
cdt
Et ensuite, j’irai faire un tour sur le repository du projet.
Le log me donne ceci :
Enregistreur: homeassistant.config_entries
Source: config_entries.py:769
S'est produit pour la première fois: 06:37:02 (1 occurrence)
Dernier enregistrement: 06:37:02
Error setting up entry Mon domicile for smartthings
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 769, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/smartthings/__init__.py", line 142, in async_setup_entry
await session.async_ensure_token_valid()
File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 753, in async_ensure_token_valid
new_token = await self.implementation.async_refresh_token(self.token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 135, in async_refresh_token
new_token = await self._async_refresh_token(token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/cloud/account_link.py", line 149, in _async_refresh_token
new_token = await account_link.async_fetch_access_token(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.hass.data[DATA_CLOUD], self.service, token["refresh_token"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/hass_nabucasa/account_link.py", line 122, in async_fetch_access_token
resp.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/aiohttp/client_reqrep.py", line 636, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url='https://account-link.nabucasa.com/refresh_token/smartthings'
Bonjour,
regarde l’issue ouverte :
Citation
La suppression et la réactivation de SmartThings ont permis de rétablir le fonctionnement.
Ça fonctionne.
Merci pour ton travail sur la communauté
1 « J'aime »
Ce sujet a été automatiquement fermé après 2 jours. Aucune réponse n’est permise dorénavant.
