Found this on the Home Assistant forums, and figured it should be copied here for easier visbility.
The following is a subflow that make it a little cleaner to work with zwave scene events:
[{"id":"3f60e735.9db1a8","type":"subflow","name":"Inovelli Scenes","info":"","category":"","in":[{"x":120,"y":220,"wires":[{"id":"daee7611.539b78"}]}],"out":[{"x":620,"y":40,"wires":[{"id":"df8196c7.74b5c8","port":0}]},{"x":620,"y":80,"wires":[{"id":"df8196c7.74b5c8","port":1}]},{"x":620,"y":120,"wires":[{"id":"df8196c7.74b5c8","port":2}]},{"x":620,"y":160,"wires":[{"id":"df8196c7.74b5c8","port":3}]},{"x":620,"y":200,"wires":[{"id":"df8196c7.74b5c8","port":4}]},{"x":620,"y":240,"wires":[{"id":"28f99a5c.03f676","port":0}]},{"x":620,"y":280,"wires":[{"id":"28f99a5c.03f676","port":1}]},{"x":620,"y":320,"wires":[{"id":"28f99a5c.03f676","port":2}]},{"x":620,"y":360,"wires":[{"id":"28f99a5c.03f676","port":3}]},{"x":620,"y":400,"wires":[{"id":"28f99a5c.03f676","port":4}]},{"x":620,"y":440,"wires":[{"id":"6ed890f7.9c56e","port":0}]}],"env":[],"color":"#DDAA99","outputLabels":["Single tap down","Double tap down","Triple tap down","Quad tap down","5 taps down","Single tap up","Double tap up","Triple tap up","Quad Tap up","5 taps up","Config tap"]},{"id":"daee7611.539b78","type":"switch","z":"3f60e735.9db1a8","name":"Scene ID","property":"payload.event.scene_id","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"str"},{"t":"eq","v":"2","vt":"str"},{"t":"eq","v":"3","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":260,"y":220,"wires":[["df8196c7.74b5c8"],["28f99a5c.03f676"],["6ed890f7.9c56e"]]},{"id":"df8196c7.74b5c8","type":"switch","z":"3f60e735.9db1a8","name":"Scene Data","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"7680","vt":"str"},{"t":"eq","v":"7860","vt":"str"},{"t":"eq","v":"7920","vt":"str"},{"t":"eq","v":"7980","vt":"str"},{"t":"eq","v":"8040","vt":"str"}],"checkall":"true","repair":false,"outputs":5,"x":430,"y":180,"wires":[[],[],[],[],[]],"outputLabels":["Single Tap Down","Double Tap Down","Triple Tap Down","Quad Tap Down","5 Tap Down"]},{"id":"28f99a5c.03f676","type":"switch","z":"3f60e735.9db1a8","name":"Scene Data","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"7680","vt":"str"},{"t":"eq","v":"7860","vt":"str"},{"t":"eq","v":"7920","vt":"str"},{"t":"eq","v":"7980","vt":"str"},{"t":"eq","v":"8040","vt":"str"}],"checkall":"true","repair":false,"outputs":5,"x":430,"y":260,"wires":[[],[],[],[],[]],"outputLabels":["Single Tap Up","Double Tap Up","Triple Tap Up","Quad Tap Up","5 Tap Up"]},{"id":"6ed890f7.9c56e","type":"switch","z":"3f60e735.9db1a8","name":"Scene Data","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"7680","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":430,"y":320,"wires":[[]],"outputLabels":["Single Config Tap"]}]
I made a few modifications the original adding labels and possibly correcting scene ID’s (don’t remember for sure). The intention is to use it with an “Events: all” node set to Event Type “zwave.scene_activated” with the resulting message passed to a switch node looking at property “msg.payload.event.node_id”, with the output dependent on the ID of the switch activated. (i.e. ==6 if the switch is node 6)
Credit to this post