Fix ring download with date and time extensions documentation (#24448)

When setting up the ring extension, i noticed that i couldn't access my HA.
Looking at the logs, i noticed there was an error:
`Failed to parse configuration.yaml: while scanning for the next token
found character '%' that cannot start any token`

It seems that there were double quotes in a double quoted config example. Changing them to single quotes worked and this is also tested.
This commit is contained in:
Macley 2022-10-09 14:26:52 +02:00 committed by GitHub
parent 8d2c7005bc
commit 7d793eea81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,8 +88,8 @@ You may consider some modifications in the subdirectory and the filename to suit
```yaml
data:
url: "{{ state_attr('camera.front_door', 'video_url') }}"
subdir: "{{ state_attr('camera.front_door', 'friendly_name') }}/{{ now().strftime("%m.%Y") }}"
filename: "{{ now().strftime("%Y-%m-%d-at-%H-%M-%S") }}.mp4"
subdir: "{{ state_attr('camera.front_door', 'friendly_name') }}/{{ now().strftime('%m.%Y') }}"
filename: "{{ now().strftime('%Y-%m-%d-at-%H-%M-%S') }}.mp4"
```
{% endraw %}