I am not sure which integration you are using, in ZHA you will only see the battery for example. I got 3 of these switches working with ZHA throug Node-Red but there are other options now.
If you are using ZHA, you need to listen to zha_events or use a Blueprint like this one:
If you are using different integration, try to find a Blueprint which works with the integration you are using.