How to get a senor name from group of sensors for notification to mobile app

Hi all,

I have a group of water leak sensors, smoke alarm sensors, etc. I wont to create a single automatio n using that group so if any member has alarm, notification will be send. Can I use any variable in the notification to get a name for triggered sensor?

Cheers,
Alex.