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') }}"