Tweaked automation (#4954)

Tweaked last automation - removed `-` for consistency with other examples
This commit is contained in:
DubhAd 2018-03-19 11:13:04 +00:00 committed by Franck Nijhof
parent bdf356794e
commit 459f6a21a2

View File

@ -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 }}"
``` ```