How do I debug this case?

I have a RM Rule which turns on Bathroom Lights:

According to the logs/timestamps the delay between Trigger and Lights ON is subsecond (second ELSE IF in the rule). Both Lights (one is ZWave and second one iz ZIGBEE) turned on simulteneusly (visually) but with a delay 2-3 seconds from Trigger Event. Since both lights on the different mesh, mesh behavior is out of question (my good guess).
The question is:
How do I debug (find out) who is responsible for the huge delay?

UPDATE
There is another variable in equission.
The visual delay is between LED Blink on the mmWave Sensor and Lights turning ON. The mmWave Sensor is on the HA and brought in to C7 via HADB and hub-mesh to the C8 Pro. The timing data is from the C8 Pro. So, the delay could be in the Sensor itself or HA processing the Event or Event Travel Time to the C8 Pro. Another words, the C8 Pro + RM Rule may not be even involved in this delay. Now I have to figure out who how to find out the timing on each leg. The mmWave Sensor is a newly installed Switchbot BT Presence Sensor. Maybe this one itself is a problem.