With motion you can configure that a snapshot is made every X seconds. The last snapshot is referred to by a symlink, wich you can use in HA with the generic cam module to show that picture.
Now, I don’t want a snapshot taken every X seconds , but I want the image that was taken because of Motion detection being available as a symlink file with a filename that I can use in HA.
Does anybody know a solution for this?