Security alarm Messages

Hi,
'm trying to implement home security alarm. i need help for the following. My sensors are grouped and want to identify which sensor triggered on notification.
Code:

  • id: ‘1565547823939’
    alias: Beam Sensor
    trigger:
    • entity_id: binary_sensor.front_beam
      platform: state
      to: ‘on’
    • entity_id: binary_sensor.back_beam
      platform: state
      to: ‘on’
    • entity_id: binary_sensor.east_beam
      platform: state
      to: ‘on’
      condition:
    • condition: state
      entity_id: alarm_control_panel.home_alarm
      state: armed_away
      action:
    • data:
      message: “ALARM! The alarm is armed in Away mode {{ states(‘binary_sensor.date_time’) }}”
      service: notify.ios_aslu_iphone
    • data:
      message: Check Area
      service: notify.aslu_notify

When message arrives, saying sensor as ‘Unknown’

Please help me to fix this,
Aslam

Please read the sticky post, which includes information on how to format your code.

Hi,
Gone thru the help documents. There is no much information about the notification.

Regards,

Aslam

There is however a lot of information on how to help us help you. If you don’t want to do that, it’s hard for us to help you, and most people won’t bother.

So, once more, please read that post and format your code correctly.