Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save peyanski/bd29dd433ea3508c3e74143042bce49b to your computer and use it in GitHub Desktop.
Save peyanski/bd29dd433ea3508c3e74143042bce49b to your computer and use it in GitHub Desktop.
alias: Send notification when alarm is Disarmed
description: ""
trigger:
- platform: state
entity_id:
- alarm_control_panel.home_alarm
to: disarmed
condition: []
action:
- service: notify.mobile_app_kiril
data:
message: The alarm is Disarmed
title: RV ALARM!
- service: persistent_notification.create
data:
message: The alarm is Disarmed
mode: single
alias: Send notifications when alarm triggered
description: ""
trigger:
- platform: state
entity_id:
- alarm_control_panel.home_alarm
to: triggered
condition: []
action:
- service: notify.mobile_app_kiril
data:
message: The alarm has been triggered!
title: RV ALARM!
- service: notify.twilio_calls
data:
message: ALARM! The alarm has been triggered
target: MY_PHONE_NUMBER
mode: single
alias: Trigger alarm while armed away
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.shellymotion2_84fd271be41e_motion
to: "on"
condition:
- condition: state
entity_id: alarm_control_panel.home_alarm
state: armed_away
action:
- service: alarm_control_panel.alarm_trigger
target:
entity_id: alarm_control_panel.home_alarm
data: {}
- service: notify.mobile_app_kiril
data:
message: Motion is detected! The alarm is in pending mode. Enter the code!
title: RV ALARM!
- service: persistent_notification.create
data:
message: Motion is detected! The alarm is in pending mode. Enter the code!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment