You can listen to zha_event, here are the events that are fired when I press the button:
Event 3 fired 5:51 AM:
{
"event_type": "zha_event",
"data": {
"unique_id": "0x7e9c:1:0x0008",
"device_ieee": "00:17:88:01:10:33:1a:88",
"command": "step",
"args": [
1,
30,
9
]
},
"origin": "LOCAL",
"time_fired": "2019-05-31T12:51:00.766450+00:00",
"context": {
"id": "65a1ebd4f5dc4af687a6d5ab42d04c28",
"parent_id": null,
"user_id": null
}
}
Event 2 fired 5:50 AM:
{
"event_type": "zha_event",
"data": {
"unique_id": "0x7e9c:1:0x0008",
"device_ieee": "00:17:88:01:10:33:1a:88",
"command": "step",
"args": [
0,
30,
9
]
},
"origin": "LOCAL",
"time_fired": "2019-05-31T12:50:59.867801+00:00",
"context": {
"id": "7e04210a8f494de1ad5cc3ea67b7c6e2",
"parent_id": null,
"user_id": null
}
}
Event 1 fired 5:50 AM:
{
"event_type": "zha_event",
"data": {
"unique_id": "0x7e9c:1:0x0006",
"device_ieee": "00:17:88:01:10:33:1a:88",
"command": "off_with_effect",
"args": [
0,
0
]
},
"origin": "LOCAL",
"time_fired": "2019-05-31T12:50:58.866998+00:00",
"context": {
"id": "1067c89f4588485e8b6f81feed1c0af2",
"parent_id": null,
"user_id": null
}
}
Event 0 fired 5:50 AM:
{
"event_type": "zha_event",
"data": {
"unique_id": "0x7e9c:1:0x0006",
"device_ieee": "00:17:88:01:10:33:1a:88",
"command": "on",
"args": []
},
"origin": "LOCAL",
"time_fired": "2019-05-31T12:50:57.971008+00:00",
"context": {
"id": "38a4fb13f81043498523e64d57c373ef",
"parent_id": null,
"user_id": null
}
}