mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-12-10 00:30:02 -06:00
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:
parent
51c5febe6b
commit
9cbabb98d7
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user