From 3887b87101d488b73e05f3f112222b0fda6be444 Mon Sep 17 00:00:00 2001 From: DubhAd Date: Sun, 18 Mar 2018 19:47:09 +0000 Subject: [PATCH] Tweaked automation Tweaked last automation - removed `-` for consistency with other examples --- source/_docs/scripts.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_docs/scripts.markdown b/source/_docs/scripts.markdown index 37d13d8507f7..06836372add8 100644 --- a/source/_docs/scripts.markdown +++ b/source/_docs/scripts.markdown @@ -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 %}