Google Chat integration not showing hangouts.conversations in states

Following the Google Chat instructions, I created a gmail/hangouts account for my home assistant and successfully added the Google Chat/Hangounts integration to my HA.
But I can’t find any entry for “hangouts.conversations” in the “States” of the “Developer Tools”, as instructed. I did start a chat between myself and my newly created HA Hangouts user, so I guess that should show up.

I found the following log which I guess is related

Logger: homeassistant.util.logging
Source: util/logging.py:156
First occurred: 13:37:36 (1 occurrences)
Last logged: 13:37:36

Exception in async_handle_update_users_and_conversations when dispatching 'hangouts_connected': () Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/hangouts/hangouts_bot.py", line 352, in async_handle_update_users_and_conversations await self._async_list_conversations() File "/usr/src/homeassistant/homeassistant/components/hangouts/hangouts_bot.py", line 319, in _async_list_conversations ) = await hangups.build_user_conversation_list(self._client) File "/usr/local/lib/python3.10/site-packages/hangups/conversation.py", line 30, in build_user_conversation_list conv_states, sync_timestamp = await _sync_all_conversations(client) File "/usr/local/lib/python3.10/site-packages/hangups/conversation.py", line 110, in _sync_all_conversations response = await client.sync_recent_conversations(request) File "/usr/local/lib/python3.10/site-packages/hangups/client.py", line 674, in sync_recent_conversations await self._pb_request('conversations/syncrecentconversations', File "/usr/local/lib/python3.10/site-packages/hangups/client.py", line 415, in _pb_request res = await self._base_request( File "/usr/local/lib/python3.10/site-packages/hangups/client.py", line 471, in _base_request res = await self._session.fetch( File "/usr/local/lib/python3.10/site-packages/hangups/http_utils.py", line 89, in fetch raise exceptions.NetworkError( hangups.exceptions.NetworkError: Request return unexpected status: 403: Forbidden

What am I doing wrong?

I had a fully working hangouts / chat config and it’s just started logging the same error - I suspect you’re not doing anything wrong

Seems it was using a legacy API, that no longer works. So the integration has been removed.

Google Chat integration has stopped working · Issue #82235 · home-assistant/core (github.com)

So why is it still advertised on the HA site then?

Because they haven’t updated it yet.

1 Like