Use the door opener as a trigger in Apple Home

This is currently reliably only possible by integrating a Smart Lock 3.0 Pro via the MQTT API. You could use HomeBridge to feed the proper event into HomeKit and create the automation there. This post could help you as a starting point: MQTT API & Homebridge / HomeKit