Hassio automation (triggered but did nothing)

I need some assistance if possible, I have a dual garage door opener (ESP32) with magnetic door position switches to open my garage. If I open with Hassio or with my remote the door will stay open for 2 minutes then an automation will trigger to close a relay connected to the door motor push button interface. after 15 minutes it will additionally trigger a sms to my mobile to say door is open. This has worker perfect for 2 months. today I forgot the door open, the automation to close the door was triggered but the door did not close, after 15 minutes the other automation triggered and I got the sms.
in the logbook I can see the automation to close the door was triggered but yet the door stayed open.
nowhere can I see what the cause was.

my esp32 connects to my wifi network via a ubiquiti AP, that AP stated the device has been connected for 4 days so it does not seem the esp32 lost wifi connection.

where and how can I trouble shoot this as my garage door was open for over an hour with valuables in.

Check the log (developer tools > logs) for errors.

Thank you, I have found the problem. Hassio does not keep track of actions. What happens if I close the door slightly before my 2 minute delay is over, and door is on its way down, the automation will still trigger and hence the door re opens. Is there a way around this or do I just create another automation to close door if still open say at 3 minutes.