Please have a read of this and edit your post.
If your camera is sending more than one event you will get more than one notification.
To avoid this you can add this to the last line of your actions:
- delay: 5
As you are running in single
mode the single instance of your automation will only be able to be re-triggered every 5 seconds. Adjust this time as necessary.
This will generate a warning in your system log that the automation is already running if it is re-triggered during this delay time. To avoid this you can set:
max_exceeded: silent
I generally tend not to do this as I like to see in my log when multiple triggers are occurring but being ignored, it’s up to you.
More on automation modes here: