Zigbee2mqtt and icasa 4s (iCasa ICZB-KPD14S) keypad need help

i need a blueprint or a way how i can use the trigger from this keypad to start an automation.
the keypad is already present in homeassistant and give me a sensor data field that i can use. the comands that come from the keypad (zigbee2mqtt) i know. thats are (on, off, recall_1, recall_2, store_1, store_2) for the different buttons (4)
iam a beginner in homeassistant and before i use for 5 years iobroker and with a javascript blockly the keypad runs fine.