Created
April 13, 2020 23:40
-
-
Save langelguy/e812b8d10930dc4e0913e5a45db92fcd to your computer and use it in GitHub Desktop.
Automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
automaiton.yaml | |
- id: '1586812692976' | |
alias: ring doorbell | |
description: '' | |
trigger: | |
- entity_id: binary_sensor.front_door_ding | |
platform: state | |
to: detected | |
condition: [] | |
action: | |
- service: notify.notify | |
data: | |
message: Someone is at the Front Door! | |
data: | |
push: | |
badge: 0 | |
category: FRONTDOORUNLOCK | |
- id: '1586819818423' | |
alias: IOS NOTIFICATION | |
description: '' | |
trigger: | |
platform: event | |
event_type: ios.notification_action_fired | |
event_data: | |
actionName: 'FRONTDOOR_UNLOCK' | |
condition: [] | |
action: | |
- device_id: ef068a21cb9747f59df17cbdfada378c | |
domain: lock | |
entity_id: lock.front_door | |
type: unlock | |
Config.yaml | |
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