As example for HA events I want to share an AdvancedFlow which reacts on HueTap events to control a receiver (on/off, input an volume).
On/off using a short and long press event:
Change volume or light brightness using the ring.
The button click stores its number in a variable to remember the currently used device. It gets reset after 10sec with a timer.
The ring step count (turning length) is read from the event data (JSON) and used to calculate the volume change. But you can also use raise/lower volume/brightness instead for single step changes.