Automation for nearby Earthquake detection #37778
Labels
integration: usgs_earthquakes_feed
Stale
The PR had no activity for quite some time, and is marked as Stale
Feedback
I'm struggling to create an automation that triggers when an earthquake is detected nearby. The problem is that a dynamic entity is generated when this event occurs. I'm trying to catch this event. but it is not as simple as a direct attribute automation.
I tried getting the attributes first, but as it is a new entity, I wouldn't be able to catch it.
Now I'm trying to get an event, but I think the way it is is somewhat inneficient (1st Code)
Maybe this way is a little better, but I have to wait for an earthquake to see if it works... (2nd Code)
I will be glad if someone could point me in the right direction.
URL
https://www.home-assistant.io/integrations/usgs_earthquakes_feed/
Version
2025.2.5
Additional information
1st Automation:
Second Automation:
The text was updated successfully, but these errors were encountered: