I’m trying to figure out how to have an automation trigger when it detects a doorbell press and then have my Alexa devices speak text (I have that portion working). I’m stuck on what the trigger would look like. Is this even possible with a running event entity like this?
It’s not clear what you mean with this.
I assume it’s an attribute of the sensor with a list?
Can you show us a screen shot of the entity in Dev Tools/states?
It appears badnest is just scraping the Nest web interface for events in the timeline for the camera. This is what the state for that sensor looks like:
You can use the state trigger for your automation.
Using it without the optional parameters will trigger on every change of the state or attribute of the sensor.
automation:
trigger:
platform: state
entity_id: sensor.front_door_events
action:
service: ...
EDIT: Maybe cool down the automation if it triggers multiple times.
The badnest integration extracts 10 minutes worth of Nest timeline data from the time an event is detected and then displays it in sensor.front_door_events. The sensor.front_door_events does not update unless a new event is detected on the Nest timeline then it updates sensor.front_door_events again.