WTH Continue automation actions even if one action fails

A failure of an action within an automation will cause all others not to be executed. I would like to have an “on error continue”, or maybe be able to configure parallel actions.

You can use “Continuing on error” in yaml:

- alias: "If this one fails..."
  continue_on_error: true
  service: notify.super_unreliable_service_provider
  data:
    message: "I'm going to error out..."

- alias: "This one will still run!"
  service: persistent_notification.create
  data:
    title: "Hi there!"
    message: "I'm fine..."

Why did that not pop up in my search results? Thanks!

1 Like