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,7 +164,7 @@ The following automation shows how to capture the custom event `event_light_stat
|
||||||
platform: event
|
platform: event
|
||||||
event_type: event_light_state_changed
|
event_type: event_light_state_changed
|
||||||
action:
|
action:
|
||||||
- service: notify.notify
|
service: notify.notify
|
||||||
data_template:
|
data_template:
|
||||||
message: "kitchen light is turned {{ trigger.event.data.state }}"
|
message: "kitchen light is turned {{ trigger.event.data.state }}"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue