I have configured the manual alarm control panel and everything functions properly in terms of triggering, arming, disarming. However, I am trying to use the “changed_by” attribute data in my SMS/email message, no matter how the alarm is triggered my changed_by: attribute is allays null.
Here is my relevant config:
alarm_control_panel:
- platform: manual
name: house
trigger_time: 600
disarm_after_trigger: false
pending_time: 0
delay_time: 0
- alias: 'Trigger alarm while armed away'
trigger:
- platform: state
entity_id: binary_sensor.front_door
to: 'on'
- platform: state
entity_id: binary_sensor.lving_window_1
to: 'on'
- platform: state
entity_id: binary_sensor.lving_window_2
to: 'on'
- platform: state
entity_id: binary_sensor.lving_window_3
to: 'on'
- platform: state
entity_id: binary_sensor.dining_window_1
to: 'on'
- platform: state
entity_id: bbinary_sensor.dining_window_2
to: 'on'
- platform: state
entity_id: binary_sensor.lving_room_sliding_door
to: 'on'
- platform: state
entity_id: binary_sensor.lving_window
to: 'on'
- platform: state
entity_id: binary_sensor.kitchen_window_1
to: 'on'
- platform: state
entity_id: binary_sensor.kitchen_window_2
to: 'on'
- platform: state
entity_id: binary_sensor.kitchen_window_3
to: 'on'
- platform: state
entity_id: binary_sensor.kitchen_window_4
to: 'on'
- platform: state
entity_id: binary_sensor.kid_s_room_window
to: 'on'
- platform: state
entity_id: binary_sensor.basement_window
to: 'on'
- platform: state
entity_id: binary_sensor.kitchen_shock_sensor
to: 'on'
- platform: state
entity_id: binary_sensor.dining_shock_sensor
to: 'on'
- platform: state
entity_id: binary_sensor.lving_shock_sensor
to: 'on'
- platform: state
entity_id: binary_sensor.basement_door
to: 'on'
- platform: state
entity_id: binary_sensor.alarm_rf_touchpad
to: 'on'
- platform: state
entity_id: binary_sensor.downstairs_bedroom_window
to: 'on'
- platform: state
entity_id: binary_sensor.kid_s_room_sliding_door
to: 'on'
- platform: state
entity_id: binary_sensor.basement_opening
to: 'on'
condition:
- condition: state
entity_id: alarm_control_panel.house
state: armed_away
action:
- service: alarm_control_panel.alarm_trigger
entity_id: alarm_control_panel.house
Here is what happens when I trigger the alarm:
Any help debugging this would be appreciated.
Thanks!