mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
reversed mm-yyyy to yyyy-mm as per the desc (#25422)
This commit is contained in:
parent
554f86528e
commit
9e4b8503a2
@ -86,7 +86,7 @@ You may consider some modifications in the subdirectory and the filename to suit
|
|||||||
```yaml
|
```yaml
|
||||||
data:
|
data:
|
||||||
url: "{{ state_attr('camera.front_door', 'video_url') }}"
|
url: "{{ state_attr('camera.front_door', 'video_url') }}"
|
||||||
subdir: "{{ state_attr('camera.front_door', 'friendly_name') }}/{{ now().strftime('%m.%Y') }}"
|
subdir: "{{ state_attr('camera.front_door', 'friendly_name') }}/{{ now().strftime('%Y.%m') }}"
|
||||||
filename: "{{ now().strftime('%Y-%m-%d-at-%H-%M-%S') }}.mp4"
|
filename: "{{ now().strftime('%Y-%m-%d-at-%H-%M-%S') }}.mp4"
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user