Zigbee2mqtt aqara cube nodered

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