Automation: Stopped because only a single execution is allowed

This appears to have started recently, but I’m confused by how to address what’s happening with my automation. This morning it triggered at 8:09 AM, but stopped on the condition (which is accurate). Then at 8:22, it triggered, but failed with the single execution message:

id: '1673118024977'
alias: Front Door - Person Detected
description: ''
trigger:
  - platform: state
    entity_id:
      - binary_sensor.front_door_person_detected
    from: 'off'
    to: 'on'
condition:
  - condition: not
    conditions:
      - condition: template
        value_template: >-
          {{ (now() - states.lock.front_door_lock.last_changed).total_seconds()
          < 30 }}
        alias: Was the door unlocked within 30 seconds?
action:
  - parallel:
      - service: shell_command.get_image_full
        data:
          entity_id: sensor.front_door_camera_snap
          ha_token: xxxx
          ha_url: xxxx
          img_ext: jpeg
          img_url: http://192.168.2.36/snap.jpeg
          save_loc: /mnt/ha_www_images/
        alias: Get Image
      - type: turn_on
        device_id: a9af91ad9b9edd85013e47022d41934f
        entity_id: light.porch_light
        domain: light
      - type: turn_on
        device_id: 240601dcd9b06b7b72b0fef605b04425
        entity_id: light.foyer_bulb_switch
        domain: light
        brightness_pct: 75
    enabled: true
  - parallel:
      - service: rest_command.amplipi_announce
        data:
          type: detected
          volume: 0.6
        alias: Detected the Speakers
      - service: notify.living_room_tv
        data:
          message: Person on Porch
          title: Home Assistant
          data:
            color: grey
            duration: 5
            image:
              url: http://192.168.2.36/snap.jpeg
            fontsize: large
            interrupt: 1
            position: bottom-right
            transparency: 25%
        alias: Put image on TV
      - service: shell_command.notify
        data:
          message: Person at front door
          space: xxxx
          file_name: '{{ states(''sensor.front_door_camera_snap'') }}'
          token: xxxx
          type: image
        alias: Send Image
        enabled: true
    enabled: true
mode: single

In the state of the automation, I can see that it has 1 running instance:

It appears that it has been “hanging” for 2+ days. I see this in my logs for December 2nd, but I don’t understand what it’s trying to tell me with “step 1: parallel 3”? Does that mean the step for entity_id: light.foyer_bulb_switch didn’t work? Is there a way to make that time out?

Logger: homeassistant.components.automation.front_door_person_detected
Source: helpers/script.py:1783
Integration: Automation (documentation, issues)
First occurred: December 1, 2023 at 8:25:24 PM (1 occurrences)
Last logged: December 1, 2023 at 8:25:24 PM

Front Door - Person Detected: Parallel action at step 1: parallel 3: Error executing script. Error for device at pos 1:

As a stop-gap, I made this automation a Parallel type, but would rather get this addressed correctly.

I’m also confused why it triggered at 8:09 and evaluated the condition correctly, but at 8:22 it stopped because of an existing execution. Why didn’t it also stop at 8:09? Why evaluate the conditions if it knew there was an existing execution?

Thanks!

It’s confusing that it says step 1: parallel 3 because there are only 2 parallels. But more relevant is that it’s failing due to an inner action. I guess it may be getting stuck and then next time it fails due to already running. Do the expanded logs show you related errors pointing to the specific step that fails?

I was reading that as the three actions that are inside of the first set of parallel actions (shell script to get an image, turn on porch light and turn on foyer light).

I don’t understand what you mean by expanded logs.