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.