Help finishing Inovelli LZW36 setup

I have an Inovelli LZW36 switch in my nursery and have it connected to an overhead fan with 2 Philips Hue bulbs and a Philips Hue lightstrip behind the dresser/changing table (highly recommend for late night changings). I used Node Red to set up an automation, but could use some help finishing it up, specifically the fan and dimmer switches. I’m not sure how to get the fan to step up/down power or how to get the dimmer switches to dim up/down when held. Here’s my setup:

[{"id":"8411e384.fb1f9","type":"subflow","name":"Inovelli LZW36","info":"","category":"","in":[{"x":80,"y":340,"wires":[{"id":"1adf8d0e.cac7f3"}]}],"out":[{"x":680,"y":20,"wires":[{"id":"3faf3597.ea43ba","port":0}]},{"x":680,"y":60,"wires":[{"id":"3faf3597.ea43ba","port":1}]},{"x":680,"y":100,"wires":[{"id":"3faf3597.ea43ba","port":2}]},{"x":680,"y":140,"wires":[{"id":"3faf3597.ea43ba","port":3}]},{"x":680,"y":180,"wires":[{"id":"3faf3597.ea43ba","port":4}]},{"x":680,"y":220,"wires":[{"id":"3faf3597.ea43ba","port":5}]},{"x":680,"y":260,"wires":[{"id":"3faf3597.ea43ba","port":6}]},{"x":680,"y":300,"wires":[{"id":"aa0230ce.6a60c","port":0}]},{"x":680,"y":340,"wires":[{"id":"aa0230ce.6a60c","port":1}]},{"x":680,"y":380,"wires":[{"id":"aa0230ce.6a60c","port":2}]},{"x":680,"y":420,"wires":[{"id":"aa0230ce.6a60c","port":3}]},{"x":680,"y":460,"wires":[{"id":"aa0230ce.6a60c","port":4}]},{"x":680,"y":500,"wires":[{"id":"aa0230ce.6a60c","port":5}]},{"x":680,"y":540,"wires":[{"id":"aa0230ce.6a60c","port":6}]},{"x":680,"y":580,"wires":[{"id":"22e25e05.dd5982","port":0}]},{"x":680,"y":620,"wires":[{"id":"31dba9ab.8e9436","port":0}]},{"x":680,"y":660,"wires":[{"id":"3f79029e.5b0dae","port":0}]},{"x":680,"y":700,"wires":[{"id":"dd5e0d3b.98bc4","port":0}]}],"env":[],"color":"#DDAA99","outputLabels":["1x Fan On/Off","2x Fan On/Off","3x Fan On/Off","4x Fan On/Off","5x Fan On/Off","Fan On/Off Hold","Fan On/Off Release","1x Light On/Off","2x Light On/Off","3x Light On/Off","4x Light On/Off","5x Light On/Off","Light On/Off Hold","Light On/Off Release","1x Light Up","1x Light Down","1x Fan Up","1x Fan Down"]},{"id":"1adf8d0e.cac7f3","type":"switch","z":"8411e384.fb1f9","name":"Scene IDs","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"},{"t":"eq","v":"4","vt":"str"},{"t":"eq","v":"5","vt":"str"},{"t":"eq","v":"6","vt":"str"}],"checkall":"true","repair":false,"outputs":6,"x":210,"y":340,"wires":[["3faf3597.ea43ba"],["aa0230ce.6a60c"],["22e25e05.dd5982"],["31dba9ab.8e9436"],["3f79029e.5b0dae"],["dd5e0d3b.98bc4"]]},{"id":"3faf3597.ea43ba","type":"switch","z":"8411e384.fb1f9","name":"Scene Data 1","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"},{"t":"eq","v":"7800","vt":"str"},{"t":"eq","v":"7740","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":440,"y":180,"wires":[[],[],[],[],[],[],[]],"inputLabels":["Scene ID 1"],"outputLabels":["1x Fan On/Off","2x Fan On/Off","3x Fan On/Off","4x Fan On/Off","5x Fan On/Off","Fan On/Off Hold","Fan On/Off Release"]},{"id":"22e25e05.dd5982","type":"switch","z":"8411e384.fb1f9","name":"Scene Data 3","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"7680","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":440,"y":380,"wires":[[]],"outputLabels":["1x Light Up"]},{"id":"31dba9ab.8e9436","type":"switch","z":"8411e384.fb1f9","name":"Scene Data 4","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"7680","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":440,"y":420,"wires":[[]],"outputLabels":["1x Light Down"]},{"id":"3f79029e.5b0dae","type":"switch","z":"8411e384.fb1f9","name":"Scene Data 5","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"7680","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":440,"y":460,"wires":[[]],"outputLabels":["1x Fan Up"]},{"id":"dd5e0d3b.98bc4","type":"switch","z":"8411e384.fb1f9","name":"Scene Data 6","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"7680","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":440,"y":500,"wires":[[]],"outputLabels":["1x Fan Down"]},{"id":"aa0230ce.6a60c","type":"switch","z":"8411e384.fb1f9","name":"Scene Data 2","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"},{"t":"eq","v":"7800","vt":"str"},{"t":"eq","v":"7740","vt":"str"}],"checkall":"true","repair":false,"outputs":7,"x":440,"y":300,"wires":[[],[],[],[],[],[],[]],"inputLabels":["Scene ID 2"],"outputLabels":["1x Light On/Off","2x Light On/Off","3x Light On/Off","4x Light On/Off","5x Light On/Off","Light On/Off Hold","Light On/Off Release"]},{"id":"15093ba4.168824","type":"tab","label":"Nursery Switch","disabled":false,"info":""},{"id":"4d29d63f.3b589","type":"server-events","z":"15093ba4.168824","name":"Zwave Scene Events","server":"f6e60f48.08ca6","event_type":"zwave.scene_activated","exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"waitForRunning":true,"x":120,"y":120,"wires":[["75a7040a.90ab6c"]]},{"id":"fc7706d.728b8f8","type":"switch","z":"15093ba4.168824","name":"Nursery Switch Node","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"4","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":400,"y":240,"wires":[["f7c5dad1.95a078"]]},{"id":"f7c5dad1.95a078","type":"subflow:8411e384.fb1f9","z":"15093ba4.168824","name":"","env":[],"x":600,"y":240,"wires":[["e999838b.6a45c"],[],[],[],[],[],[],["5dcd7e77.257a8"],["376289ce.b7a486"],["cce09a3b.246bb8"],[],[],[],[],["3fccc7a6.d32eb8"],["14294023.fc12a"],[],[]]},{"id":"e999838b.6a45c","type":"api-call-service","z":"15093ba4.168824","name":"Nursery Fan Toggle","server":"83679a69.5aa298","version":1,"debugenabled":false,"service_domain":"light","service":"toggle","entityId":"light.inovelli_lzw36_fan_light_dimmer_level_2","data":"","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":810,"y":20,"wires":[[]]},{"id":"c966feeb.39603","type":"hue-group","z":"15093ba4.168824","name":"Nursery","bridge":"3fdf9143.f9d7fe","groupid":"5","colornamer":true,"skipevents":false,"universalevents":false,"x":1300,"y":660,"wires":[[]]},{"id":"caabfd4b.b8c24","type":"function","z":"15093ba4.168824","name":"Dim Down","func":"msg.payload = {\n    \"decrementBrightness\": 10\n\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1150,"y":660,"wires":[["c966feeb.39603"]]},{"id":"72ccfde5.cf4094","type":"function","z":"15093ba4.168824","name":"Dim Up","func":"msg.payload = {\n    \"incrementBrightness\": 10\n\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1140,"y":580,"wires":[["9b5f52f2.a478b"]]},{"id":"9b5f52f2.a478b","type":"hue-group","z":"15093ba4.168824","name":"Nursery","bridge":"3fdf9143.f9d7fe","groupid":"5","colornamer":true,"skipevents":false,"universalevents":false,"x":1300,"y":580,"wires":[[]]},{"id":"14914803.4f1bb8","type":"api-call-service","z":"15093ba4.168824","name":"Set Light LED Full","server":"83679a69.5aa298","version":1,"debugenabled":true,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\":4,\"parameter\":24,\"value\":33491626}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1610,"y":380,"wires":[[]]},{"id":"90bf5677.680f48","type":"api-call-service","z":"15093ba4.168824","name":"Set Light LED Dim","server":"83679a69.5aa298","version":1,"debugenabled":true,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\":4,\"parameter\":24,\"value\":33489322}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1610,"y":260,"wires":[[]]},{"id":"d83620c3.60f4f","type":"api-call-service","z":"15093ba4.168824","name":"Nursery Light Turn Off","server":"83679a69.5aa298","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"light.nursery","data":"","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1380,"y":200,"wires":[[]]},{"id":"1d5f0c37.c4b4a4","type":"api-current-state","z":"15093ba4.168824","name":"Nursery off?","server":"83679a69.5aa298","version":1,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.nursery","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":970,"y":220,"wires":[["44f6bc3f.d30094","97263639.7ea9e8"],["d83620c3.60f4f","65e0a7a.4037158"]]},{"id":"75a7040a.90ab6c","type":"function","z":"15093ba4.168824","name":"States to msg.flow","func":"msg.flow = global.get(\"homeassistant\"); \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":190,"y":240,"wires":[["fc7706d.728b8f8"]]},{"id":"5dcd7e77.257a8","type":"change","z":"15093ba4.168824","name":"Get all states","rules":[{"t":"set","p":"payload","pt":"msg","to":"homeAssistant.states[\"light.nursery\"]","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":790,"y":220,"wires":[["1d5f0c37.c4b4a4"]]},{"id":"8bf8c370.c5259","type":"inject","z":"15093ba4.168824","name":"1x Light On/Off","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"event_type\":\"zwave.scene_activated\",\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"event\":{\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"node_id\":4,\"scene_id\":2,\"scene_data\":7680}}","payloadType":"json","x":120,"y":300,"wires":[["75a7040a.90ab6c"]]},{"id":"19c15896.302c27","type":"inject","z":"15093ba4.168824","name":"1x Fan On/Off","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"event_type\":\"zwave.scene_activated\",\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"event\":{\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"node_id\":4,\"scene_id\":1,\"scene_data\":7680}}","payloadType":"json","x":110,"y":340,"wires":[["75a7040a.90ab6c"]]},{"id":"a5b12fff.1b23b","type":"inject","z":"15093ba4.168824","name":"1x Light Up","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"event_type\":\"zwave.scene_activated\",\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"event\":{\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"node_id\":4,\"scene_id\":3,\"scene_data\":7680}}","payloadType":"json","x":110,"y":380,"wires":[["75a7040a.90ab6c"]]},{"id":"9d3f515f.eaec7","type":"inject","z":"15093ba4.168824","name":"1x Light Down","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"event_type\":\"zwave.scene_activated\",\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"event\":{\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"node_id\":4,\"scene_id\":4,\"scene_data\":7680}}","payloadType":"json","x":110,"y":420,"wires":[["75a7040a.90ab6c"]]},{"id":"e7d50e64.28f5a","type":"api-current-state","z":"15093ba4.168824","name":"Nursery off?","server":"83679a69.5aa298","version":1,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.nursery","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":970,"y":560,"wires":[["9ac18524.edd8e8"],["72ccfde5.cf4094"]]},{"id":"e797a2e6.05d44","type":"api-current-state","z":"15093ba4.168824","name":"Nursery off?","server":"83679a69.5aa298","version":1,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","override_topic":false,"entity_id":"light.nursery","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","blockInputOverrides":false,"x":970,"y":620,"wires":[[],["caabfd4b.b8c24"]]},{"id":"3fccc7a6.d32eb8","type":"change","z":"15093ba4.168824","name":"Get all states","rules":[{"t":"set","p":"payload","pt":"msg","to":"homeAssistant.states[\"light.nursery\"]","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":810,"y":560,"wires":[["e7d50e64.28f5a"]]},{"id":"14294023.fc12a","type":"change","z":"15093ba4.168824","name":"Get all states","rules":[{"t":"set","p":"payload","pt":"msg","to":"homeAssistant.states[\"light.nursery\"]","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":810,"y":620,"wires":[["e797a2e6.05d44"]]},{"id":"9ac18524.edd8e8","type":"api-call-service","z":"15093ba4.168824","name":"Nursery Light Turn On","server":"83679a69.5aa298","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.nursery","data":"","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1380,"y":540,"wires":[["b698a850.0b20b8"]]},{"id":"44f6bc3f.d30094","type":"function","z":"15093ba4.168824","name":"Bright","func":"msg.payload = {\n    \"on\": \"True\",\n    \"brightness\": 100,\n    \"rgb\": [255,205,120],\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1130,"y":120,"wires":[["bfaccac4.fdc668"]]},{"id":"bfaccac4.fdc668","type":"hue-group","z":"15093ba4.168824","name":"Nursery","bridge":"3fdf9143.f9d7fe","groupid":"5","colornamer":true,"skipevents":false,"universalevents":false,"x":1260,"y":120,"wires":[[]]},{"id":"376289ce.b7a486","type":"change","z":"15093ba4.168824","name":"Get all states","rules":[{"t":"set","p":"payload","pt":"msg","to":"homeAssistant.states[\"light.nursery\"]","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":790,"y":260,"wires":[["addb6b8c.fa6478","90bf5677.680f48"]]},{"id":"a235e399.e5197","type":"inject","z":"15093ba4.168824","name":"2x Light On/Off","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"event_type\":\"zwave.scene_activated\",\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"event\":{\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"node_id\":4,\"scene_id\":2,\"scene_data\":7860}}","payloadType":"json","x":120,"y":460,"wires":[["75a7040a.90ab6c"]]},{"id":"cce09a3b.246bb8","type":"change","z":"15093ba4.168824","name":"Get all states","rules":[{"t":"set","p":"payload","pt":"msg","to":"homeAssistant.states[\"light.nursery\"]","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":790,"y":300,"wires":[["991bc2f6.23e9c","14914803.4f1bb8"]]},{"id":"991bc2f6.23e9c","type":"function","z":"15093ba4.168824","name":"Bright","func":"msg.payload = {\n    \"on\": \"True\",\n    \"brightness\": 100,\n    \"rgb\": [255,205,120],\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":950,"y":380,"wires":[["92f42b8e.8bbf08"]]},{"id":"92f42b8e.8bbf08","type":"hue-group","z":"15093ba4.168824","name":"Nursery","bridge":"3fdf9143.f9d7fe","groupid":"5","colornamer":true,"skipevents":false,"universalevents":false,"x":1100,"y":380,"wires":[[]]},{"id":"559498bd.a15388","type":"inject","z":"15093ba4.168824","name":"3x Light On/Off","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"event_type\":\"zwave.scene_activated\",\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"event\":{\"entity_id\":\"zwave.inovelli_lzw36_fan_light_dimmer\",\"node_id\":4,\"scene_id\":2,\"scene_data\":7920}}","payloadType":"json","x":120,"y":500,"wires":[["75a7040a.90ab6c"]]},{"id":"4df8b1f0.50e62","type":"function","z":"15093ba4.168824","name":"Half On","func":"msg.payload = {\n    \"on\": \"True\",\n    \"brightness\": 50,\n    \"rgb\": [255,205,120],\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1200,"y":280,"wires":[["2677f05e.68ab4"]]},{"id":"2677f05e.68ab4","type":"hue-light","z":"15093ba4.168824","name":"Nursery Dresser","bridge":"3fdf9143.f9d7fe","lightid":"9","colornamer":true,"skipevents":false,"universalevents":false,"x":1400,"y":280,"wires":[[]]},{"id":"addb6b8c.fa6478","type":"api-call-service","z":"15093ba4.168824","name":"Nursery Light Turn Off","server":"83679a69.5aa298","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"light.nursery","data":"","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1000,"y":280,"wires":[["4df8b1f0.50e62"]]},{"id":"97263639.7ea9e8","type":"api-call-service","z":"15093ba4.168824","name":"Set Light LED Full","server":"83679a69.5aa298","version":1,"debugenabled":true,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\":4,\"parameter\":24,\"value\":33491626}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1610,"y":140,"wires":[[]]},{"id":"65e0a7a.4037158","type":"api-call-service","z":"15093ba4.168824","name":"Set Light LED Dim","server":"83679a69.5aa298","version":1,"debugenabled":true,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\":4,\"parameter\":24,\"value\":33489322}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1610,"y":220,"wires":[[]]},{"id":"b698a850.0b20b8","type":"api-call-service","z":"15093ba4.168824","name":"Set Light LED Full","server":"83679a69.5aa298","version":1,"debugenabled":true,"service_domain":"zwave","service":"set_config_parameter","entityId":"","data":"{\"node_id\":4,\"parameter\":24,\"value\":33491626}","dataType":"json","mergecontext":"","output_location":"payload","output_location_type":"msg","mustacheAltTags":false,"x":1610,"y":540,"wires":[[]]},{"id":"f6e60f48.08ca6","type":"server","name":"Home Assistant","addon":true},{"id":"83679a69.5aa298","type":"server","name":"Home Assistant","addon":true},{"id":"3fdf9143.f9d7fe","type":"hue-bridge","name":"Philips hue","bridge":"192.168.1.242","key":"vy38vnHufy7YTT4G3GGBEmfhuxyr0eXT8eq4KCvP","interval":"1000","disableupdates":false}]

I think I have the 1x, 2x, and 3x set up optimally to turn on/off the lights depending on what is on/off, e.g. 2x turns overhead off and dresser light on 50%, but once in that state, 1x turns everything off and 3x turns everything on full.

I hope the subflow I created can at least be helpful to some. I don’t have a background in programming - just copy and paste what I can understand from the community. Any other recommendations would be appreciated!
Thanks!