Improving Automation Response Time for Emergency Scenarios

Hey everyone, I’m reaching out to see if anyone has encountered and overcome a similar challenge. I recently set up an automation to control the lighting in my home, and while it works, there’s a significant delay that’s causing some frustration, especially in critical situations.

Here’s the setup: I use a custom integration to monitor emergency alerts from my local fire department. When an alert is received, the automation checks if I’m at home and, if so, turns on all the lights in green. The idea is to have immediate visibility without fumbling for switches in the dark. However, the automation often triggers 30-60 seconds after the alert is received, which defeats the purpose of having it in the first place.

I’ve reviewed the automation logs, and it seems the processing time is minimal—only about 0.8 seconds. This suggests the delay might be elsewhere, possibly in how the integration fetches data or how the system processes the trigger. I’m wondering if there are any strategies to reduce this latency or if others have experienced similar issues with their automations.

Would love to hear if anyone has tips on optimizing automation response times, especially for scenarios where every second counts. Thanks in advance for your insights!