Data Template should be used, not data (#12834)

Skavalalalalvalalala made me do it
This commit is contained in:
Eirik Z 2020-04-11 21:45:45 +02:00 committed by GitHub
parent 9f05544657
commit 380d1bded0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ For example, the following action in an automation would take a recording from "
```yaml
action:
service: camera.record
data:
data_template:
entity_id: camera.yourcamera
filename: '/tmp/{{ entity_id }}_{{ now().strftime("%Y%m%d-%H%M%S") }}.mp4'
```