HSM Arm Changes Logic Help

I'm writing a SecurityKeypad driver. I have HSM configured to allow arming and disarming from the keypad. When I use the HSM GUI and tell it to Arm Away, I receive an arm command correctly.

Then 6 seconds later, it sends another command to arm away. Does my driver need to send a SecurityKeypad event of "armed away" after 6 seconds?

I figured it out after some tries - Yes, the driver needs to send a securityKeypad event:

sendEvent(name: "securityKeypad", value: "armed away")

I can't figure out the proper way to signal to HSM that a keypad is requesting to disarm. Any one have the details for this?

Is there any good documentation on the HSM interface and sequence diagrams for arming/disarming from the Hubitat docs?

(post deleted by author)