Alarm Automation Wont Trigger :-(

Hello to everyone !
Sorry for my bad English, I’m Italian :grinning:

When I arm my custom alarm panel, it arms.
But, when I move in front of the sensor, the state in HA changes ( I can See it), but the alarm won’t trigger. :sob:

- alias: Triggerare allarme mentre armato
  trigger:
  - platform: state
    entity_id: sensor.0x00158d00039dc12d_action
    to: vibration
  - platform: state
    entity_id: sensor.0x00158d00039dc12d_action
    to: tilt
  - platform: state
    entity_id: sensor.0x00158d00039dc12d_action
    to: drop
  - platform: state
    entity_id: binary_sensor.0x00158d0003f3a488_occupancy
    to: on
  - platform: state
    entity_id: binary_sensor.0x00158d0004220ac1_occupancy
    to: on
  condition:
  - condition: or
    conditions:
    - condition: state
      entity_id: alarm_control_panel.allarme_di_casa
      state: armed_away
    - condition: state
      entity_id: alarm_control_panel.allarme_di_casa
      state: armed_home
  action:
  - entity_id: alarm_control_panel.allarme_di_casa
    service: alarm_control_panel.alarm_trigger

Where is the problem? I’m out of head :expressionless:

Thank you to everyone :slight_smile:

this should be
to: 'vibration'
(with single quotes)
Same for the other triggers and conditions

1 Like

Now i try, Thank You :slight_smile: