Find out which sensor triggered the alarm and put its name in the notification

The easiest way would be to use this:

It is set up via a GUI and will tell you what sensors tripped the alarm. It works very well.