Xiaomi Zigbee gateway - How to listening to events?

I have a Xiaomi Zigbee gateway which works great with all my Xiaomi Zigbee devices. I’ve since added a Xiaomi cube which has been detected but I see the state only read 90/180-degree turn and HA cant see what side its on. People that have connected the cube to ZHA are able to see what side the device is on, so ideally I would like to be able to do the same without replacing the Xiaomi Zigbee gateway.

Possibly if I listen to the events passed by the gateway, they have more details and I can use those to determine sides and then create automation based on the side that it lands on.

So does anyone know what device I need to listen to in order to read what the Xiaomi Zigbee gateway is receiving?

You need to listed to the end device and not the hub, which in this case is - xiaomi_aqara.cube_action