[SOLVED] Alarm_control_panel.alarm_trigger service doesn't trigger the alarm

Maybe this wil help

alias: 'Alarm: When armed'
description: ''
trigger:
  - type: motion
    platform: device
    device_id: 3be4d4b54eda4d20bda8433788d2ac4c
    entity_id: binary_sensor.hue_motion_sensor_1_motion
    domain: binary_sensor
  - type: motion
    platform: device
    device_id: 61d5d87c13b411ebae2fa5bdae758eaa
    entity_id: binary_sensor.hue_motion_sensor_2_motion
    domain: binary_sensor
  - type: opened
    platform: device
    device_id: 78b0836df59ec4fc9edcbf2f834cd27d
    entity_id: binary_sensor.shenzhen_neo_electronics_co_ltd_door_window_detector_sensor
    domain: binary_sensor
  - type: motion
    platform: device
    device_id: 6ecbd67b80a176d0ccf781495c064b53
    entity_id: binary_sensor.motion_sensor_beneden
    domain: binary_sensor
    for:
      hours: 0
      minutes: 0
      seconds: 2
      milliseconds: 0
condition:
  - condition: state
    entity_id: alarm_control_panel.ha_alarm
    state: armed_away
action:
  - service: script.turn_on
    target:
      entity_id: script.flash_alarm_lights
  - service: notify.mobile_app_sm_g970f
    data:
      message: Beweging gedetecteerd thuis!!!
      data:
        priority: high
        ttl: 0
  - service: media_player.volume_set
    data:
      volume_level: 1
    entity_id: group.google_speakers
  - service: media_player.play_media
    data:
      media_content_id: https://wolfpins.duckdns.org/local/inbraak_alarm.mp3
      media_content_type: áudio/mp3
    entity_id: group.google_speakers
  - service: notify.mobile_app_sm_g970f
    data:
      message: TTS
      title: There is someone in your hous,kill him
      data:
        LedColor: red
        channel: alarm_stream_max
        priority: high
        ttl: 0
  - service: notify.mobile_app_sm_g780g
    data:
      title: There is someone in your hous,kill him
      message: TTS
      data:
        LedColor: red
        channel: alarm_stream_max
        priority: high
        ttl: 0
  - service: notify.mobile_app_sm_g780g
    data:
      message: Er is iemand binnen
      data:
        priority: high
        ttl: 0
  - service: input_boolean.turn_on
    data:
      entity_id: input_boolean.schakel_alarm
mode: single

Another one who appriciate tour solution! Saved some of my hair from tearing off :slight_smile:

Just to add myself to the long list of people who now understand (thanks to you!) correctly the Trigger-time duration

Hey I just registered exclusively for your post: Just wanted to say thank you for the solution :slight_smile:

Thanks ! It solved my problem also.

Same here. Worked long time with setting 0s. Changed it now to 10s and its working again :slight_smile: