@Hellis81 It finally dawned on me that you basically spelled out the solution in that other thread - just use Node-RED.
I thought Node-RED was a whole different thing, which would mean I couldn’t use HA, but it turns out it can be used as an addon and it works perfectly!
Here is the flow that I ended up with:
[{"id":"68e6fde03ae709cf","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"fa13c4e391c8fadd","type":"server-events","z":"68e6fde03ae709cf","name":"All HA Events","server":"cd4a2a22.06c838","version":1,"event_type":"zwave_js_value_notification","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"$outputData(\"eventData\").event_type","valueType":"jsonata"}],"x":210,"y":60,"wires":[["3981f4f6a1f390dd","06f2510a7778cefa"]]},{"id":"3981f4f6a1f390dd","type":"switch","z":"68e6fde03ae709cf","name":"","property":"payload.event.device_id","propertyType":"msg","rules":[{"t":"eq","v":"5cdf21e8014b0435ccdba59ece42a75d","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":190,"y":140,"wires":[["0e696fc1b59af5e8"]]},{"id":"0e696fc1b59af5e8","type":"switch","z":"68e6fde03ae709cf","name":"","property":"payload.event.value","propertyType":"msg","rules":[{"t":"eq","v":"KeyReleased","vt":"str"},{"t":"eq","v":"KeyHeldDown","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":390,"y":140,"wires":[["66dee43d5705602e"],["63b2023e731ce66e"]]},{"id":"63b2023e731ce66e","type":"change","z":"68e6fde03ae709cf","name":"","rules":[{"t":"set","p":"held_down","pt":"flow","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":230,"y":200,"wires":[["9ab1d4b91429cac0"]]},{"id":"66dee43d5705602e","type":"change","z":"68e6fde03ae709cf","name":"","rules":[{"t":"set","p":"held_down","pt":"flow","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":120,"wires":[[]]},{"id":"9ab1d4b91429cac0","type":"switch","z":"68e6fde03ae709cf","name":"","property":"payload.event.property_key","propertyType":"msg","rules":[{"t":"eq","v":"001","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":190,"y":300,"wires":[["26d4aaa945bbcb90"],["1762482884d3d7a3"]]},{"id":"74d77967d43cdad1","type":"api-call-service","z":"68e6fde03ae709cf","name":"","server":"4bbca37b.1700ec","version":3,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.dimmable_light_1","data":"{\t \"brightness\": msg.data.attributes.brightness+25\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":850,"y":260,"wires":[["8b4f10a8a3201758"]]},{"id":"8b4f10a8a3201758","type":"delay","z":"68e6fde03ae709cf","name":"","pauseType":"delay","timeout":"200","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1050,"y":260,"wires":[["82e07714b58e17da"]]},{"id":"82e07714b58e17da","type":"switch","z":"68e6fde03ae709cf","name":"","property":"held_down","propertyType":"flow","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":810,"y":180,"wires":[["26d4aaa945bbcb90"]]},{"id":"9ee3178e3a4950b7","type":"switch","z":"68e6fde03ae709cf","name":"","property":"held_down","propertyType":"flow","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":810,"y":420,"wires":[["1762482884d3d7a3"]]},{"id":"870762e793857e99","type":"api-call-service","z":"68e6fde03ae709cf","name":"","server":"4bbca37b.1700ec","version":3,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.dimmable_light_1","data":"{\t \"brightness\": msg.data.attributes.brightness-25\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":850,"y":340,"wires":[["86f524e63232e6ae"]]},{"id":"86f524e63232e6ae","type":"delay","z":"68e6fde03ae709cf","name":"","pauseType":"delay","timeout":"200","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1050,"y":340,"wires":[["9ee3178e3a4950b7"]]},{"id":"06f2510a7778cefa","type":"debug","z":"68e6fde03ae709cf","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":500,"y":60,"wires":[]},{"id":"1762482884d3d7a3","type":"api-current-state","z":"68e6fde03ae709cf","name":"","server":"4bbca37b.1700ec","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"light.dimmable_light_1","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":570,"y":340,"wires":[["870762e793857e99"]]},{"id":"26d4aaa945bbcb90","type":"api-current-state","z":"68e6fde03ae709cf","name":"","server":"4bbca37b.1700ec","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"light.dimmable_light_1","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":570,"y":260,"wires":[["74d77967d43cdad1"]]},{"id":"cd4a2a22.06c838","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30},{"id":"4bbca37b.1700ec","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]