Skip to content

Instantly share code, notes, and snippets.

@langelguy
Created April 18, 2020 18:48
Show Gist options
  • Save langelguy/02fe539d8b5b75d6de03a2473daa1680 to your computer and use it in GitHub Desktop.
Save langelguy/02fe539d8b5b75d6de03a2473daa1680 to your computer and use it in GitHub Desktop.
- id: '1586812692976'
alias: Doorbell Ring to Unlock Front Door
description: ''
trigger:
- entity_id: binary_sensor.front_doorbell_ding
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
data:
push:
badge: 0
category: frontdoorunlock
message: Someone is at the Front Door!
service: notify.mobile_app_spencers_iphone
- id: '1586819818423'
alias: iOS Notification to Unlock Front Door
description: ''
trigger:
- event_data:
actionName: FRONTDOOR_UNLOCK
event_type: ios.notification_action_fired
platform: event
condition: []
action:
- device_id: ef068a21cb9747f59df17cbdfada378c
domain: lock
entity_id: lock.front_door_lock
type: unlock
ios:
push:
categories:
- name: frontdoorunlock
identifier: 'FRONTDOORUNLOCK'
actions:
- identifier: 'FRONTDOOR_UNLOCK'
title: 'Unlock Front Door'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment