I created this automation. I don’t get any errors and the automation is triggered every minute.
However, In the expected folder /www/media/ no snapshot can be found.
id: '1641738510337'
alias: snaphot from camera
description: ''
trigger:
- platform: time_pattern
minutes: '*'
condition:
- condition: time
after: '07:00:00'
before: '18:00:00'
action:
- service: camera.snapshot
target:
entity_id: camera.babycam
data:
filename: local/media/achtertuin_{{ now().strftime("%Y%m%d-%H%M%S") }}.jpg
mode: single
In the logging I can see that a correct filename was made.