Other things came up so got busy and haven't had time to troubleshoot this. Back now to resolve it so here are the logs for one of the door sensor which should turn on/off the downlight. It turns on the light when the door opens but doesn't turn it off when the door closes.
dev:2682023-12-28 02:13:03.696 PMinfobuttonDown(button=1)
dev:2682023-12-28 02:13:03.689 PMinfosendOpenCloseEvent(openClose=false) invertContact=false
dev:2682023-12-28 02:13:03.687 PMinfomsgMap: [raw:B8CD0100060800001000, dni:B8CD, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, valueParsed:false]
dev:2682023-12-28 02:12:59.999 PMinfobuttonPushed(button=1)
dev:2682023-12-28 02:12:59.991 PMinfosendOpenCloseEvent(openClose=true) invertContact=false
dev:2682023-12-28 02:12:59.989 PMinfomsgMap: [raw:B8CD0100060800001001, dni:B8CD, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, valueParsed:true]
dev:2682023-12-28 02:10:49.614 PMinfobuttonDown(button=1)
dev:2682023-12-28 02:10:49.607 PMinfosendOpenCloseEvent(openClose=false) invertContact=false
dev:2682023-12-28 02:10:49.604 PMinfomsgMap: [raw:B8CD0100060800001000, dni:B8CD, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:00, clusterInt:6, attrInt:0, valueParsed:false]
dev:2682023-12-28 02:10:46.066 PMinfobuttonPushed(button=1)
dev:2682023-12-28 02:10:46.060 PMinfosendOpenCloseEvent(openClose=true) invertContact=false
dev:2682023-12-28 02:10:46.057 PMinfomsgMap: [raw:B8CD0100060800001001, dni:B8CD, endpoint:01, cluster:0006, size:08, attrId:0000, encoding:10, command:0A, value:01, clusterInt:6, attrInt:0, valueParsed:true]
app:1422023-12-28 02:13:00.069 PMinfoWIL Downlight Turn On
app:1422023-12-28 02:10:46.158 PMinfoWIL Downlight Turn On
Edit: Here is the screenshot of the rule.
It doesn't crash as such but behaves weird as some rules don't work and others seem to be delayed. I just did a backup and restore and it didn't fix it but the first time it did.