From 468d91b08b0270eaa747777a44d114597942d105 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Jan 2018 20:56:23 +0100 Subject: [PATCH] Fix escaping --- source/_components/camera.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/camera.markdown b/source/_components/camera.markdown index cd4314d5581..21629b68d86 100644 --- a/source/_components/camera.markdown +++ b/source/_components/camera.markdown @@ -47,6 +47,7 @@ The path part of `filename` must be an entry in the `whitelist_external_dirs` in For example, the following action in an automation would take a snapshot from "yourcamera" and save it to /tmp with a timestamped filename. +{% raw %} ```yaml action: service: camera.snapshot @@ -54,6 +55,7 @@ action: entity_id: camera.yourcamera filename: '/tmp/yourcamera_{{ now().strftime("%Y%m%d-%H%M%S") }}.jpg' ``` +{% endraw %} ### {% linkable_title Test if it works %}