AutoLock and Lock'n'Go with different Door Sensor

I do have a Homematic door sensor and want to “upgrade” my SmartLock’s (4 Pro) functionality using HomeAssistant.

My plan is to

  1. Simulate the intelligent mode (press once for lock or unlock depending on the lock’s state) by using HomeAssistant and taking into account if the door is open or closed (by using an existing door sensor in HA).

  2. Simulate the Lock’n’Go mode (press twice for locking the door after a certain period of time) by using HomeAssistant and taking into account if the door is open or closed (by using an existing door sensor in HA).

I am aware that I can set both buttons to “no action” in the Android app. But what do I need to listen to in HA to get the button press event? I cannot see anything button related on the MQTT broker (apart from changing the state when locking)

Screenshot from 2024-05-31 10-23-56