From b4c71a2f549cdd90212a42ac5bc269278f649445 Mon Sep 17 00:00:00 2001 From: Philip Rosenberg-Watt Date: Fri, 23 Mar 2018 11:29:38 -0600 Subject: [PATCH] Fix incorrect syntax (#4995) Without quotes the example would not work. --- source/_docs/scripts.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/scripts.markdown b/source/_docs/scripts.markdown index 2acea20bbe5..ef490f4de20 100644 --- a/source/_docs/scripts.markdown +++ b/source/_docs/scripts.markdown @@ -102,7 +102,7 @@ When using `wait_template` within an automation `trigger.entity_id` is supported {% raw %} ```yaml -- wait_template: "{{ is_state(trigger.entity_id, 'on') }}" +- wait_template: "{{ is_state('trigger.entity_id', 'on') }}" ``` {% endraw %}