When a zigbee device fails it breaks an automation now (new behavior)

Something changed this year in how zigbee devices are handled by automations. If a device goes offline, is unreachable, or whatever, the automation actually breaks and stops running. Any further operations do not happen.

This is definitely something new as I would have failed or offline (like holiday lighting) devices that were unreachable but all it would do is generate a log error, not completely stop the automation.

I have been slowly moving my devices off of the ZHA integration+interface on to a Conbee+zigbee2mqtt setup to maybe help alleviate this problem.

I agree I should not have devices that generate errors, but something will eventually break or be offline and I feel like it shouldn’t stop an automation from continuing to process the other actions.

Any thoughts here?

Example log entries:

2024-11-16 00:01:24.104 ERROR (MainThread) [homeassistant.components.automation.daily_timed_events_midnight_lighting_changes] Daily timed events: Midnight changes: Choose at step 1: choice 1: Error executing script. Error for device at pos 7: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

2024-11-16 00:01:24.105 ERROR (MainThread) 
[homeassistant.components.automation.daily_timed_events_midnight_lighting_changes] Daily timed events: Midnight changes: Error executing script. Error for choose at pos 1: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

2024-11-16 00:01:24.105 ERROR (MainThread) 
[homeassistant.components.automation.daily_timed_events_midnight_lighting_changes] Error while executing automation automation.daily_timed_events_midnight_lighting_changes: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

2024-11-15 05:30:15.141 ERROR (MainThread) [homeassistant.components.automation.daily_timed_events_morning_lights_on] Error while executing automation automation.daily_timed_events_morning_lights_on: Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>

Did you try “Continuing on error”?

1 Like

Firefox_Screenshot_2024-11-20T17-01-39.557Z

I don’t think that feature works for me. Does it not work in an automation?

OK, it has to be part of an ACTION, not the main automation. It took the command when I added it to one action.

So this will take me a while to add it to all the automation actions but it’ll be worth it if it fixes my issue.

Thanks!

1 Like