Automation Continue on Error - Not Working

G’day I have an automation that occasionally errors but works on the second attempt.

Because of this error it stops the automation and won’t execute the condition to see if it failed…

I setup continue_on_error but it still isn’t proceeding… any tips?


This is the Bluetooth Proxy configuration

  • esp32doit-devkit-v1
  • by Espressif
  • Firmware: 2024.7.3 (Aug 29 2024, 16:29:54)

Hello Anton2079,

It is going to be a bit harder to diagnose if we can’t share your code.
Please post the YAML version and use the </> button in the editor to display it properly.

How to help us help you - or How to ask a good question.

Here is the YAML :slight_smile:

The error comes from this section

  - device_id: cb0c8c3bca1294b599b05f4ef0f341c7
    domain: select
    entity_id: 9b73b21ae8830689c14cda922207689a
    type: select_option
    option: Manual
    continue_on_error: true

All of the YAML is below

alias: Pool Morning
description: ""
triggers:
  - trigger: state
    entity_id:
      - input_select.home_state
    to: Daytime
    for:
      hours: 0
      minutes: 0
      seconds: 0
conditions: []
actions:
  - if:
      - condition: or
        conditions:
          - condition: numeric_state
            entity_id: sensor.my_home_percentage_charged
            above: 19
          - condition: numeric_state
            entity_id: sensor.my_home_solar_power
            above: 2.5
    then: []
    else:
      - wait_for_trigger:
          - trigger: numeric_state
            entity_id:
              - sensor.my_home_percentage_charged
            above: 19
          - trigger: numeric_state
            entity_id:
              - sensor.my_home_solar_power
            above: 2.5
        timeout:
          hours: 1
          minutes: 30
          seconds: 0
          milliseconds: 0
  - device_id: cb0c8c3bca1294b599b05f4ef0f341c7
    domain: select
    entity_id: 9b73b21ae8830689c14cda922207689a
    type: select_option
    option: Manual
    continue_on_error: true
  - delay:
      hours: 0
      minutes: 2
      seconds: 0
      milliseconds: 0
  - if:
      - condition: state
        entity_id: binary_sensor.pool_pump_status
        state: "on"
    then: []
    else:
      - device_id: cb0c8c3bca1294b599b05f4ef0f341c7
        domain: select
        entity_id: 9b73b21ae8830689c14cda922207689a
        type: select_option
        option: Manual
        continue_on_error: true
      - delay:
          hours: 0
          minutes: 2
          seconds: 0
          milliseconds: 0
      - if:
          - condition: state
            entity_id: binary_sensor.pool_pump_status
            state: "on"
        then: []
        else:
          - action: notify.mobile_app_xxxxxx_iphone
            metadata: {}
            data:
              message: Failure pool
              title: xxxxxx
  - delay:
      hours: 1
      minutes: 28
      seconds: 0
      milliseconds: 0
  - device_id: cb0c8c3bca1294b599b05f4ef0f341c7
    domain: select
    entity_id: 9b73b21ae8830689c14cda922207689a
    type: select_option
    option: "Off"
    continue_on_error: true
  - delay:
      hours: 0
      minutes: 2
      seconds: 0
      milliseconds: 0
  - if:
      - condition: state
        entity_id: binary_sensor.pool_pump_status
        state: "off"
    then: []
    else:
      - if:
          - condition: state
            entity_id: binary_sensor.pool_pump_status
            state: "off"
        then: []
        else:
          - action: notify.mobile_app_xxxxxx_iphone
            metadata: {}
            data:
              message: Failure pool stop
              title: xxxxxxx
      - delay:
          hours: 0
          minutes: 2
          seconds: 0
          milliseconds: 0
      - device_id: cb0c8c3bca1294b599b05f4ef0f341c7
        domain: select
        entity_id: 9b73b21ae8830689c14cda922207689a
        type: select_option
        option: "Off"
        continue_on_error: true
mode: single