Delay in automations

I think it can be due to Matter-over-wifi sensors.
My first sensors were wifi based, and it often took over 8s to wake up, reconnect to wifi and send an event.
So wifi based battery powered sensors which should respond immediately are the worst choice imho.

Homey having a unmanageble possible standby / sleep mode is unknown to me.

Battery devices are almost continously in sleep mode, I would search for delays with these type of devices.

And if it’s zigbee or Matter-over-Thread sensors, check the zigbee and 2.4GHz wifi channels for least interfering channel numbers.
A frustrated zigbee/Thread mesh network can be very sluggish.
Also check for chatty devices (choking the mesh with tons of events) here:
https://tools.developer.homey.app/tools/zigbee

When you use BOTH protocols, try to stick to one, for better performance / less hickups