mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Data Template should be used, not data (#12834)
Skavalalalalvalalala made me do it
This commit is contained in:
parent
9f05544657
commit
380d1bded0
@ -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'
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user