Fix DoorBird automation example to use state trigger for event entities (#41803)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
This commit is contained in:
Copilot 2025-11-16 17:55:00 +01:00 committed by GitHub
parent 51c5febe6b
commit 9cbabb98d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,8 +105,8 @@ The example automation below shows how to turn on a light when somebody presses
```yaml
- alias: "Doorbird Ring"
triggers:
- trigger: event
event_type: doorbird_driveway_gate_somebody_pressed_the_button
- trigger: state
entity_id: event.doorbird_driveway_gate_somebody_pressed_the_button
actions:
- action: light.turn_on
target: