Before Z2M version 2.0, it reported a remote-control’s events (like a Philips Hue Tap dial switch) via a sensor entity (like sensor.whatever_click and sensor.whatever_action).
Starting with Z2M version 2.0, a remote-control’s events are reported via an event entity.
A comprehensive explanation of how to convert your automations and blueprints from using the old sensor entity to the new event entity can be found here:
The alternative is to use MQTT Device Triggers instead of event entities with a State Trigger.
If you currently do not have the time to learn about the event entity (and/or to modify your automations), you can enable Z2M’s legacy_action_sensor option and it will revert to reporting a remote-control’s events via a sensor entity.