From 348679574271dcf8589aa1f0ccff66bf49581548 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 18 May 2022 11:22:55 +0200 Subject: [PATCH] Fix template example to match our YAML guidelines (#22801) * Fix template example to match our YAML guidelines * Update source/_integrations/template.markdown Co-authored-by: Klaas Schoute Co-authored-by: Klaas Schoute --- source/_integrations/template.markdown | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/_integrations/template.markdown b/source/_integrations/template.markdown index ecd2d58c6d1..8052eb50ccf 100644 --- a/source/_integrations/template.markdown +++ b/source/_integrations/template.markdown @@ -385,13 +385,13 @@ You can use a trigger-based template entity to convert any event or other automa ```yaml template: - trigger: - platform: event - event_type: my_event - binary_sensor: - - name: Event recently fired - auto_off: 5 - state: "true" + - trigger: + platform: event + event_type: my_event + binary_sensor: + - name: Event recently fired + auto_off: 5 + state: "true" ``` ### Sun Angle