These are the logs from the current driver that I am using. I did not know how to capture these logs when I had your driver installed. I can try to install your driver again and try my luck by swapping the drivers. Otherwise it is very painfully frustrating to unlink and relink the aqara sensor. I am still getting familiar with this new ‘edge’. So, apologies if I am not being helpful
2021-11-24T04:53:35.549742449+00:00 DEBUG Xiaomi Sensors Xiaomi Contact device thread event handled
2021-11-24T04:53:47.815593242+00:00 TRACE Xiaomi Sensors Received event with handler zigbee
2021-11-24T04:53:47.821197159+00:00 INFO Xiaomi Sensors <ZigbeeDevice: 739b91ab-ebb5-4f58-be16-b471e03edffc [0xA97F] (Xiaomi Contact)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xA97F, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, lqi: 0xFE, rssi: -62, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x1E, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0000, DataType: Boolean, OnOff: true > > > >
2021-11-24T04:53:47.830343784+00:00 TRACE Xiaomi Sensors Found ZigbeeMessageDispatcher handler in xiaomi-devices
2021-11-24T04:53:47.833277034+00:00 INFO Xiaomi Sensors Executing ZclClusterAttributeValueHandler: cluster: OnOff, attribute: OnOff
2021-11-24T04:53:47.837097117+00:00 INFO Xiaomi Sensors <ZigbeeDevice: 739b91ab-ebb5-4f58-be16-b471e03edffc [0xA97F] (Xiaomi Contact)> emitting event: {“component_id”:“main”,“attribute_id”:“contact”,“capability_id”:“contactSensor”,“state”:{“value”:“open”}}
2021-11-24T04:53:47.847727909+00:00 DEBUG Xiaomi Sensors Xiaomi Contact device thread event handled
2021-11-24T04:53:48.980470534+00:00 TRACE Xiaomi Sensors Received event with handler zigbee health poll
2021-11-24T04:53:49.289704243+00:00 TRACE Xiaomi Sensors Received event with handler zigbee
2021-11-24T04:53:49.294416118+00:00 INFO Xiaomi Sensors <ZigbeeDevice: 739b91ab-ebb5-4f58-be16-b471e03edffc [0xA97F] (Xiaomi Contact)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xA97F, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, lqi: 0xFE, rssi: -59, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x1F, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0000, DataType: Boolean, OnOff: false > > > >
2021-11-24T04:53:49.303509243+00:00 TRACE Xiaomi Sensors Found ZigbeeMessageDispatcher handler in xiaomi-devices
2021-11-24T04:53:49.306456076+00:00 INFO Xiaomi Sensors Executing ZclClusterAttributeValueHandler: cluster: OnOff, attribute: OnOff
2021-11-24T04:53:49.310314159+00:00 INFO Xiaomi Sensors <ZigbeeDevice: 739b91ab-ebb5-4f58-be16-b471e03edffc [0xA97F] (Xiaomi Contact)> emitting event: {“component_id”:“main”,“attribute_id”:“contact”,“capability_id”:“contactSensor”,“state”:{“value”:“closed”}}