From b5fb8283a4413e3731b60b3b69d4651e03664ce8 Mon Sep 17 00:00:00 2001 From: Francesco Date: Sat, 7 Nov 2020 12:10:59 +0100 Subject: [PATCH] Changed "Conditional Messages" example (#15431) The example has been fit to behave correctly keeping into account that message is an array --- source/_integrations/system_log.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/system_log.markdown b/source/_integrations/system_log.markdown index ad4fc976aeb..e60fa8f9356 100644 --- a/source/_integrations/system_log.markdown +++ b/source/_integrations/system_log.markdown @@ -111,7 +111,7 @@ automation: event_type: system_log_event condition: condition: template - value_template: '{{ "service" in trigger.event.data.message }}' + value_template: '{{ "service" in trigger.event.data.message[0] }}' action: service: persistent_notification.create data: