If you are using the latest version of Zigbee2MQTT (version 2.X) it no longer creates action sensors.
Here are your choices.
-
You can re-enable the creation of action sensors in Zigbee2MQTT’s Settings → Home Assistant . This is not recommended because this feature will eventually be completely removed.

-
Use a Device Trigger. This is the recommended replacement for action sensors.
-
You can use
evententities by enabling this option in Zigbee2MQTT’s Settings → Home Assistant. Then you can use a State Trigger to listen to anevententity. There’s a tutorial for it here. FWIW, this is what I chose to do.
