Skip to content

Commit 459f6a2

Browse files
DubhAdfrenck
authored andcommitted
Tweaked automation (home-assistant#4954)
Tweaked last automation - removed `-` for consistency with other examples
1 parent bdf3567 commit 459f6a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/_docs/scripts.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ The following automation shows how to capture the custom event `event_light_stat
164164
platform: event
165165
event_type: event_light_state_changed
166166
action:
167-
- service: notify.notify
168-
data_template:
169-
message: "kitchen light is turned {{ trigger.event.data.state }}"
167+
service: notify.notify
168+
data_template:
169+
message: "kitchen light is turned {{ trigger.event.data.state }}"
170170
```
171171
{% endraw %}
172172

0 commit comments

Comments
 (0)