Tweaked automation (#4954)
Tweaked last automation - removed `-` for consistency with other examples
This commit is contained in:
parent
bdf356794e
commit
459f6a21a2
1 changed files with 3 additions and 3 deletions
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue