Create Aqara cube rotate left or right Flow for lights

I am new to node red and using my aqara cube.
I’m trying to get the cube registered via ZHA on rasp pi in home assistant to rotate left or right to dim or brighten lights in 10% increments. Can you possibly help me create a flow for this. I am a node red newbie.

Hi. You have already asked the same question over in #general (Zigbee2mqtt aqara cube nodered) , but is a different thread so I will leave this one - but it should also be in #general so I'll move it.