Apply same automation on multiple sensors

I want to monitor that specific sensors were updated in last 15 minutes. For one sensor it looks like

...
  trigger:
  - platform: time_pattern
    hours: '/1'
  condition:
    condition: template
    value_template: >-
      {{ ((((as_timestamp(now()) - as_timestamp(states.binary_sensor.garage_gate.last_updated)) / 60) | round(0)) > 15) }}
  action:
...

now I want to apply it not only for binary_sensor.garage_gate but also for other sensors. In action block I should be able to identify for which sensor automation was activated (to send a message). How can I do it? Or maybe I should do it in other way?