home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.16k stars 29.19k forks source link

ZHA Websocket Fault #92491

Closed criticallimit closed 8 months ago

criticallimit commented 1 year ago

The problem

Logger: homeassistant.components.websocket_api.http.connection
Source: components/zha/websocket_api.py:416 
Integration: Home Assistant WebSocket API (documentation, issues) 
First occurred: 13:51:44 (1 occurrences) 
Last logged: 13:51:44

[547280504240] Error handling message: Unknown error (unknown_error) Dirk from 192.168.178.21 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/src/homeassistant/homeassistant/components/zha/websocket_api.py", line 416, in websocket_get_groups
    zha_gateway: ZHAGateway = hass.data[DATA_ZHA][DATA_ZHA_GATEWAY]
KeyError: 'zha_gateway'

What version of Home Assistant Core has the issue?

2023.5.0

What was the last working version of Home Assistant Core?

?

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Home Assistant WebSocket API

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @dmulcahey, @adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zha` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zha` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

issue-triage-workflows[bot] commented 11 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment πŸ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

criticallimit commented 11 months ago

ZHA and zippy conbee are producing many new faults. The more I update to newer versions the more faults are produced and system is no longer reliable. My last stable version was 2023.6 But can't go back because restore is also no longer working on my RPi4 since 2023.6.5

puddly commented 11 months ago

@criticallimit please open a separate issue, combining two unrelated ones isn't helpful.

Note that there haven't been any changes to any code dealing with the Conbee since April so what you're likely experiencing is just a degradation due to environmental problems. With that in mind, please fill out the entire issue template and include diagnostics information for the ZHA integration.

issue-triage-workflows[bot] commented 8 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment πŸ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.