Gateway xiaomi openwrt

Hello … I have a problem with a modified xiaomi gateway with openwrt firmware with Zigbee2mqtt installed. I have successfully paired several xiaomi components but now I need to associate a living now series diverter. it seems that it mates but immediately after mistake and loses the net.

Info Zigbee: allowing new devices to join.
Info MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"nhsxw-1"}'
Info Device '0x0004740001159dcb' joined
Info MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740001159dcb","ieee_address":"0x0004740001159dcb"},"type":"device_joined"}'
Info Starting interview of '0x0004740001159dcb'
Info MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740001159dcb","ieee_address":"0x0004740001159dcb","status":"started"},"type":"device_interview"}'
Info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x0004740001159dcb"},"type":"device_connected"}'
Info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"0x0004740001159dcb"},"type":"pairing"}'
Info Successfully interviewed '0x0004740001159dcb', device has successfully been paired
Info Device '0x0004740001159dcb' is supported, identified as: BTicino Light switch with neutral (K4003C/L4003C/N4003C/NT4003C)
Info MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Light switch with neutral","exposes":[{"features":[{"access":7,"description":"On/off state of the switch","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":1,"description":"Triggered action (e.g. a button click)","name":"action","property":"action","type":"enum","values":["identify","on","off"]},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"K4003C/L4003C/N4003C/NT4003C","supports_ota":false,"vendor":"BTicino"},"friendly_name":"0x0004740001159dcb","ieee_address":"0x0004740001159dcb","status":"successful","supported":true},"type":"device_interview"}'
Info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Light switch with neutral","friendly_name":"0x0004740001159dcb","model":"K4003C/L4003C/N4003C/NT4003C","supported":true,"vendor":"BTicino"},"type":"pairing"}'

Warning Device '0x0004740001159dcb' left the network

The version currently installed on the Zigbee2MQTT gateway is 1.18.2.
I was told that it is a very old version and the advice is to use updated ser2net and z2m inside home assistant where I currently use Mosquitto broker mqtt. Ser2net should I install it on the xiaomi gateway? do you have a guide? a thousand thanks.