[CLOSED] Ratgdo "door open" trigger in automation does not fire, but manually triggering the action works. Traces show 1 clue, but still stuck

Real head scratcher here. I have a number of automations that open and close my garage door with a newly installed Ratgdo garage opener, flashed with ESP home.

When I manually trigger an automation, it works every time, and in the traces I can see “Open <unknown entity” and then “1 second later - (cover.ratgdov25i_1bc0a3_door) turned opening”:

However when the automation runs on its own, the garage door does not open or close, despite always matching all criteria.

The only clue I have been able to find is that the “1 second later - (cover.ratgdov25i_1bc0a3_door) turned opening” does not appear after the “Open ” entry in the trace timeline:

I am not sure what else to do!

Here are some examples of the automations:

Here is the YAML for the first automation that opens the garage at 730am:

alias: 🕓 7:30am, Open garage door during the week, 730am
description: ""
trigger:
  - platform: time
    at: "07:30:00"
condition:
  - condition: time
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
  - condition: or
    conditions:
      - condition: zone
        entity_id: person.admin
        zone: zone.home
      - condition: zone
        entity_id: person.shelby
        zone: zone.home
    enabled: true
action:
  - device_id: 0a1966f320bc7e2815123864015b95aa
    domain: cover
    entity_id: 946633ebff52fd445d62016011854df2
    type: open
mode: single

Any ideas on how to better troubleshoot this would be greatly appreciated!

Replying with a solution that I received on reddit:

EDIT (SOLVED): Using a call service to open the garage instead of a device trigger resulted in success. Thank you to u/D34DC3N73R

Ok, nevermind, I thought moving to the services resolved it, but the trace issue appeared again despite using a service:

As you can see in this trace, the automation triggered correctly, but the service to close the device did not result in the device actually being closed.

Does anyone have any suggestions on how to further troubleshoot this? It is such a frustrating, intermittent issue.

For anyone else looking at this, the issue is not HA, it is the Ratgdo device. I am going to continue this issue via the ESPHome repo for Ratgdo here - Door Controls mostly not working · Issue #151 · ratgdo/esphome-ratgdo · GitHub

So I have a similar issue to you. However, oddly, if I trigger the automation twice, it works.

I’ll take a look at the Git. Thx