Skip to content

Instantly share code, notes, and snippets.

@ibizaman
Created August 15, 2023 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibizaman/875dd835dc51a72c984e13951c77e387 to your computer and use it in GitHub Desktop.
Save ibizaman/875dd835dc51a72c984e13951c77e387 to your computer and use it in GitHub Desktop.
Home Assistant Back Home Actions
alias: Back home phone actions
description: ""
use_blueprint:
path: vorion/actionable-notifications.yaml
input:
notify_device: 6924837ef3f...
trigger_entity: input_boolean.is_back_home
notification_title: Back home actions
persistent_notification: true
action_1_title: Open Door
first_action:
- service: lock.unlock
data: {}
target:
device_id: 1186032f22fb...
- if:
- condition: not
conditions:
- condition: state
entity_id: alarm_control_panel.alarm_control_panel
state: disarmed
enabled: true
then:
- service: alarm_control_panel.alarm_disarm
data: {}
target:
entity_id: alarm_control_panel.alarm_control_panel
notification_message: Long press to see actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment