I currently have the problem, that I can not add new integrations. When I press the button “+ Add Integration”, a box pops up and the circle spins forever. In the Logs Viewer, it shows:
2022-08-07 16:11:30.933 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140609405870688] Error handling message: Unknown error (unknown_error)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 724, in handle_supported_brands
data[int_or_exc.domain] = int_or_exc.manifest["supported_brands"]
KeyError: 'supported_brands'
Any idea about this or where to look at?
I have 2022.8.1 running on x86 virtual machine, but the problem was the same with 2022.8.0. I do not know, when I tried this for the last time, but could be some month ago.
I got the same issue, running by now HA 2022.8.3, also running in a VM (KVM through Proxmox VE to be precise).
I am very sure I did not have any issues in 2022.7.x, which is pretty much in line with the fact that the codebase was modified in the part breaking at Daniel’s and my instances. This is the relevant commit, and this is the relevant pull request - however, I do sadly not have the slightest clue what is going on there or why this might break just in our environments.
I downgraded to 2022.7.7 by running ha core update --version=2022.7.7 (which is something you can do too @the78mole) and the “Add Integration” button works again. But I would only see this as some kind of work-around until we know what we really can do.
Also attaching my system information in case it helps. Thank you!
thanks for tackling this down… If there ist no solution until mid of September (when I’ll get back from my vacations), I’ll test the workaround, you described. Before my vacations, I have no time to try this out
I am also having the same issue. Following entry is showing up in the logs when I click the ADD INTEGRATION button:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:724
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 21:06:48 (1 occurrences)
Last logged: 21:06:48
[140422837459824] Error handling message: Unknown error (unknown_error)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 724, in handle_supported_brands
data[int_or_exc.domain] = int_or_exc.manifest["supported_brands"]
KeyError: 'supported_brands'
Here as well my system information.
System Information
version
core-2022.8.7
installation_type
Home Assistant OS
dev
false
hassio
true
docker
true
user
root
virtualenv
false
python_version
3.10.5
os_name
Linux
os_version
5.15.60
arch
x86_64
timezone
Europe/Oslo
config_dir
/config
Home Assistant Community Store
GitHub API
ok
GitHub Content
ok
GitHub Web
ok
GitHub API Calls Remaining
4617
Installed Version
1.27.1
Stage
running
Available Repositories
1176
Downloaded Repositories
19
Home Assistant Cloud
logged_in
true
subscription_expiration
July 11, 2023 at 02:00
relayer_connected
true
remote_enabled
true
remote_connected
true
alexa_enabled
false
google_enabled
true
remote_server
********************
can_reach_cert_server
ok
can_reach_cloud_auth
ok
can_reach_cloud
ok
Easee EV Charger
component_version
0.9.44
reach_easee_cloud
ok
connected2stream
true
Home Assistant Supervisor
host_os
Home Assistant OS 8.5
update_channel
stable
supervisor_version
supervisor-2022.08.5
agent_version
1.2.1
docker_version
20.10.14
disk_total
117.4 GB
disk_used
11.0 GB
healthy
true
supported
true
board
ova
supervisor_api
ok
version_api
ok
installed_addons
SSH & Web Terminal (12.0.2), Z-Wave JS (0.1.68), Studio Code Server (5.3.0), Samba share (10.0.0), Home Assistant Google Drive Backup (0.108.4), Mosquitto broker (6.1.3)
I just updated to 2022.9.2 and … I am again getting the list of integrations in the “Set up a new integration” dialog. Seems that for me, the problem is solved (was not working with 2022.9.0 and 2022.9.1). Maybe other can comment if it is solved for them, too?