Fix escaping

This commit is contained in:
Fabian Affolter 2018-01-03 20:56:23 +01:00
parent bf0c79ebdb
commit 468d91b08b
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -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 %}