Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/_docs/scripts.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ The following automation shows how to capture the custom event `event_light_stat
platform: event
event_type: event_light_state_changed
action:
- service: notify.notify
data_template:
message: "kitchen light is turned {{ trigger.event.data.state }}"
service: notify.notify
data_template:
message: "kitchen light is turned {{ trigger.event.data.state }}"
```
{% endraw %}

Expand Down