From 459f6a21a283027e7e510dc73f30e4726911dd1f Mon Sep 17 00:00:00 2001 From: DubhAd Date: Mon, 19 Mar 2018 11:13:04 +0000 Subject: [PATCH] Tweaked automation (#4954) 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 37d13d8507f..06836372add 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 %}