From 9ea1d2787103c1af417dd215088886de3f1f65b2 Mon Sep 17 00:00:00 2001 From: Dubh Ad Date: Thu, 15 Oct 2020 18:49:47 +0100 Subject: [PATCH] Update ring.markdown (#15252) The automation `action` section is confusing for people, so I've reworked it to be an actual automation. --- source/_integrations/ring.markdown | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/_integrations/ring.markdown b/source/_integrations/ring.markdown index f09a6f942fe..d6b7a3c5db3 100644 --- a/source/_integrations/ring.markdown +++ b/source/_integrations/ring.markdown @@ -56,11 +56,17 @@ downloader: download_dir: downloads ``` -Then you can use the following `action` in your automation (this will save the video file under `/downloads/ring_/`): +Then you can use the following automation, with the entities from your system, which will save the video file under `/downloads/ring_/`: {% raw %} ```yaml -action: +automation: + alias: 'Save the video when the doorbell is pushed' + trigger: + - platform: state + entity_id: binary_sensor.front_doorbell_ding + to: 'on' + action: - service: downloader.download_file data: url: "{{ state_attr('camera.front_door', 'video_url') }}"