Aeotec Multisensor 6 as a trigger device for Manual Alarm

Hi. I am trying to configure my multisensor 6 as a trigger device for my home alarm system.

In my Homeassistant states page the sensor shows up as binary_sensor.sensor_stue

I’ve added this piece of code to my automation.yaml but the sensor does not seem to active the alarm.

automation:

  • alias: ‘Trigger alarm while armed away’
    trigger:
    • platform: state
      entity_id: binary_sensor.sensor.stue
      to: ‘active’
      condition:
    • condition: state
      entity_id: alarm_control_panel.alarm
      state: armed_away
      action:
      service: alarm_control_panel.alarm_trigger
      entity_id: alarm_control_panel.alarm

try the state ‘on’ instead of ‘active’

I think @getsmokes is right.

Here’s my code, using an Aeotec multisensor.

- alias: 'Trigger alarm while armed away'
  trigger:
    - platform: state
      entity_id: binary_sensor.multisensor_sensor
      to: 'on'
  condition:
    - condition: state
      entity_id: alarm_control_panel.home_alarm
      state: armed_away
  action:
    service: alarm_control_panel.alarm_trigger
    entity_id: alarm_control_panel.home_alarm
1 Like

Ahhh, looks good! I’ll try that out. Thanks guys :slight_smile:

I’ll let you know how it goes!