-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled Exceptions in light turn on and off service #127786
Comments
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) websocket_api documentation |
Also found this in the logs, not sure if it's related: `Logger: homeassistant Error doing job: Task exception was never retrieved (None) The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Shut off the main circuit breaker to the whole house for a minute, and then on again to make all devices unpowered for a while. After about 1hr after switching on the circuit breaker the zigbee network now works again and seems stable so mustve been a conflict somewhere in the zigbee network or a device that had locked up. |
The problem
After updating to 2024.10.1 I started getting a lot of Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074> errors and my lights would not respond to commands. I noticed the Ikea E14 opal 400lm lightbulb closest to my skyconnect coordinator had dropped out, so I tried repairing it but it did not help. I downgraded to 2024.10.0 again, but after downgrading that E14 lightbulb will not repair, it gets to the "configuring" state when resetting it and entering pairing mode, but it will never complete the configuring state when searching for new zigbee device in HA. I still have the same 3074 errors on 2024.10.0 now and my Zigbee network is not working anymore after having been stable for many months. I tried removing the E14 bulb entity completely in hopes the zigbee mesh would disregard it and repair itself but it has not helped.
I was able to find the following in the logs:
`Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:245
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 07:11:17 (14 occurrences)
Last logged: 09:41:52
[140462754609856] Unexpected exception
[140461825007552] Unexpected exception
[140461449062016] Unexpected exception
[140461515628336] Unexpected exception
[140461931824608] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/adaptive_lighting/hass_utils.py", line 62, in service_func_proxy
await existing_service.job.target(call)
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 626, in async_handle_light_on_service
await async_handle_light_off_service(light, call)
File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 639, in async_handle_light_off_service
await light.async_turn_off(**filter_turn_off_params(light, params))
File "/usr/src/homeassistant/homeassistant/components/group/light.py", line 194, in async_turn_off
await self.hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1021, in entity_service_call
raise result from None
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1610, in async_request_call
return await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 639, in async_handle_light_off_service
await light.async_turn_off(**filter_turn_off_params(light, params))
File "/usr/src/homeassistant/homeassistant/components/zha/helpers.py", line 1288, in handler
raise HomeAssistantError(err) from err
homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>`
What version of Home Assistant Core has the issue?
2024.10.1
What was the last working version of Home Assistant Core?
2024.10.0
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?
Additional information
No response
The text was updated successfully, but these errors were encountered: