I create a camera.snapshot image and save it to the same file again and again. When I email the image or send a notification to my mobile, it shows the last image saved.
However, when I send the same image using a persistent notification, it shows the first image saved. If I change the filename of the snapshot, it shows that image, but as soon as I overwrite that image, it continue to use the first image when I send a new persistent notification.
Any ideas?
variables:
local_file: '{{ snapshot_file | replace("/config/www","/local") }}'
sequence:
- service: persistent_notification.create
data:
message: '{{ snapshot_message }}<br /><br />![image]({{- local_file -}})'
title: '{{ snapshot_title }}'