How to configure lumi.curtain.agl001 on zha

It seems that you can’t make it works without using the aqara app and hub. I link two other discussions about this device.

Aqara Curtain Driver E1 (lumi.curtain.agl001) does not work with ZHA on Home Assistant Yellow EZSP radio - Configuration / Zigbee - Home Assistant Community (home-assistant.io)

Aqara Curtain Driver E1 - Configuration / Zigbee - Home Assistant Community (home-assistant.io)