Can you use zigbee cluster commands in automations?

Checkout ther “ZHA Toolkit” if want to try to go beyond some of the current limitations of the ZHA integration → GitHub - mdeweerd/zha-toolkit: 🧰 Zigbee Home Assistant Toolkit - service for "rare" Zigbee operations using ZHA on Home Assistant

More discussion about zha-toolkit here (where it is probably better to post questions like that) → "zha-toolkit" - a big set of Zigbee commands on top of ZHA/zigpy

FYI, if a Zigbee device does not expose all the expected attributes then it might need a custom ZHA Device Handler (also known as a “quirk”), see → https://www.home-assistant.io/integrations/zha#how-to-add-support-for-new-and-unsupported-devices

That is, if expected clusters and/or attributes are missing then start by submitting a device support request under issues for the zha-device-handlers repository on GitHub to open a discussion with ZHA developers and other ZHA device handlers contributors → GitHub - zigpy/zha-device-handlers: ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.