From 185be375c58680f41b2ddb9811f8b00d8af62081 Mon Sep 17 00:00:00 2001 From: Dubh Ad Date: Tue, 27 Aug 2019 20:54:13 +0100 Subject: [PATCH] It's a template! (#10245) The example isn't valid, oops --- source/_components/notify.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/notify.markdown b/source/_components/notify.markdown index f9c43ccf489..caaad4b4864 100644 --- a/source/_components/notify.markdown +++ b/source/_components/notify.markdown @@ -50,7 +50,7 @@ The automation equivalent would be: ```yaml action: service: notify.notify - data: + data_template: message: "The sun is {% raw %}{% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}{% endraw %}!" ```