Updated with data_template (#9994)

Changed "data:" in "data_template:" as suggested in:
https://www.home-assistant.io/docs/automation/templating/
This commit is contained in:
svedese 2019-07-28 19:23:48 +02:00 committed by Franck Nijhof
parent 01c786781b
commit 0e36ae0d84

View File

@ -220,7 +220,7 @@ Again, this example assumes your camera's name (in the blink app) is `My Camera`
to: 'on'
action:
service: blink.save_video
data:
data_template:
name: "My Camera"
filename: "/tmp/videos/blink_video_{{ now().strftime('%Y%m%d_%H%M%S') }}.mp4"