Get cluster command that Zigbee2MQTT is using

Hi all,

I’m using ZHA with many legrand switches and shades. the switches support setting the onboard led to turn on the the load is on - both from the legrand gateway and in zigbee2mqtt but not in ZHA. how can i figure what command is being send and to what cluster to controll this feature?

thanks

Have a look here