ZHA integrating Aqara devices

I’m trying to perform local control of my Zigbee equipment by changing the command that was done through the xiaomi Gateway 3 to a Conbee 2 using ZHA.
I manage to integrate the entities but it appear “The device is disabled by Config entry”. Trying to go back to Xiaomi integration in HA the same problem comes up and I can’t solve it neither in Xiaomi integration nor in ZHA. How can I make devices enable?