Scripts, continue_on_error default fails, no error displayed if continued - bug?

This may be in the wrong place, I would appreciate it being moved if so.

On 2025.03.02 and wrote a script to do a few things as I leave home. It’s below.

“Continue_on_error” is supposed to default per the documentation. If I omit those lines below, during the light turn-off, there is one light that sleeps a lot and is unavailable. I get this error (first image below) in the trace and the script does not continue.

With the explicit continiue_on_error the script runs, but the trace does not show the error at all, which is a bit of a surprise. I don’t see it in the logs either. I’ve reproduced this several times as there is a small window (when it wakes up) that the light is available, but it is fully consistent. I also don’t know what the “running_script: false” means in the trace’s yaml.

Is continue_on_error not a default of true? Or am I missing something?

I can obviously fix it (and have) by being explicit but trying to understand what is happening, if I misinterpreted the doc, if it’s a bug, etc.

Linwood

leaving_home: 
  alias: "Leaving Home"
  mode: restart
  sequence: 
  - action: light.turn_off
    continue_on_error: true
    target: 
      entity_id: all
  - action: switch.turn_on
    continue_on_error: true
    target:
      entity_id: switch.alerts_quiet 
  - action: cover.open_cover
    continue_on_error: true
    target:
      entity_id: cover.small_garage_door
  - delay: '00:15'
  - action: switch.turn_on
    continue_on_error: true
    target: 
      entity_id: switch.alerts_active

The default value for continue_on_error is false.

The continue_on_error is available on all actions and is set to false . You can set it to true if you’d like to continue the action sequence, regardless of whether that action encounters an error.

Reference

Continuing on error

Ah… google let me down, and my eyes failed me.

There is a continue_on_timeout that my search found for some reason when I searched for continue on error:

It apparently has a default of true and I conflated that with continue_on_error.

Reading is a skill I am still working on, apparently.

Interesting they default the opposite. But clearly my reading error.

Thank you.

You’re welcome!

Please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title which indicates to others that the topic has been solved. This helps other users find answers to similar questions.