I looked around for some kind of device that would close it automatically, which apparently doesn't exist -- with good reason, honestly. What I found was a weird little IoT box that functioned as a garage door opener, and which I could configure with an app on my phone to yell at us (via notifications) if we left the door open for more than 5 minutes.
An unsought side benefit that nevertheless became handy was that we could now control the garage door with our phones.
That app was, initially, pretty straightforward and clean -- but over time, fucking ADS crept in. I was about ready to shift platforms to avoid that crap when we moved across the country. We lived in our new place first in a rental while we house-hunted, so I did nothing there, but I absolutely planned to find an ad-free owner-respecting platform for my garage needs in the new house.
Except, well, the house we bought had (has) a pretty dang new opener, and it's delightfully almost-silent, and it has the MyQ stuff built in already. So I'm right back where I started, cursing these craven weasels every time I use the app to get into the garage.
Somewhat ironically, though, our need for this tool has flipped. Now we live in a very secure neighborhood -- kids leave their bikes on their front lawns, etc -- so the "yell at me if I leave it open" function isn't as important. OTOH, since I haven't been able to find a suitable garage door opener that will mount cleanly on my motorcycles, using the phone to get into the garage has become the default.
I picked up the ratgdo to solve this exact problem, but discovered that it can't detect the garage door state without upgrading the "button" / "control panel" on the wall to one that actually communicates with the opener rather than just basic open/close functions. The recommend button is the 889LM, which, get this, has a close delay function. AKA you open it, and it automatically closes it within a set delay after people stop walking through the safety beam.
So, while I have the HA integration now via the ratgdo, the function I wanted it for is handled automatically.
Chamberlain has auto closing built in to some of the regular wall controls. Ben using them for years.