Bonjour,
dans le configuration.yaml
homeassistant:
allowlist_external_dirs:
- /config
tu créer un dossier www
dans config ( ou homeassistant sous file editor )
Puis un dossier temp ( dans www ).
dans l’action, tu choisis une entité ( pas un appareil ) et ce chemin-là :
data:
filename: /config/www/temp/snapshot_{{ now().strftime("%d%m%y-%H%M") }}.jpg
target:
entity_id: camera.192.168.1.15
action: camera.snapshot